Difference between revisions of "VsWiki:Templates"
m (fixed spelling of "Moving" (from "Miving")) |
|||
(15 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
{{warning_text| | {{warning_text| | ||
|text=If you have been brought to this page from the from [[:Category:Pages_needing_attention|Pages that need attention]], please ignore. | |text=If you have been brought to this page from the from [[:Category:Pages_needing_attention|Pages that need attention]], please ignore. | ||
}} | }} | ||
− | == | + | ==Navigation Templates== |
===Wiki Navigation Index=== | ===Wiki Navigation Index=== | ||
'''Description''' | '''Description''' | ||
Line 23: | Line 20: | ||
'''Description''' | '''Description''' | ||
+ | Navigation arrows to go up to the previous level, as well as the previous and next item in the database. | ||
'''Usage''' | '''Usage''' | ||
Line 44: | Line 42: | ||
'''Description''' | '''Description''' | ||
+ | Navigation arrows to go up to the previous level, as well as the previous and next article in the manual. | ||
'''Usage''' | '''Usage''' | ||
Line 60: | Line 59: | ||
| next=[[Manual:Advanced flight|Advanced Flight]] | | next=[[Manual:Advanced flight|Advanced Flight]] | ||
}} | }} | ||
+ | |||
+ | |||
+ | ===Parent Link=== | ||
+ | '''Description''' | ||
+ | |||
+ | Navigation arrow to go back up a level. | ||
+ | |||
+ | '''Usage''' | ||
+ | <pre> | ||
+ | {{parent_link|parent=[[Cargo:Food|Food]]}} | ||
+ | </pre> | ||
+ | |||
+ | gives: | ||
+ | {{parent_link|parent=[[Cargo:Food|Food]]}} | ||
+ | |||
+ | ===Language navigation=== | ||
+ | The language bar is brought up by typing, for example. | ||
+ | <nowiki>{{Languages|De|VsWiki:Templates}}</nowiki> | ||
+ | This example gives: | ||
+ | {{Languages|De|VsWiki:Templates}} | ||
+ | |||
+ | See [[VsWiki:Translation]] for information on the language bar. | ||
==General Editing Templates== | ==General Editing Templates== | ||
+ | ===Spoiler=== | ||
+ | '''Description''' | ||
+ | |||
+ | Put this at the top of any page which may contain spoilers for campaigns. | ||
+ | |||
+ | '''Usage''' | ||
+ | <pre> | ||
+ | {{Spoiler}} | ||
+ | </pre> | ||
+ | |||
+ | gives: | ||
+ | {{Spoiler}} | ||
+ | |||
===Attention=== | ===Attention=== | ||
'''Description''' | '''Description''' | ||
Line 96: | Line 130: | ||
<pre> | <pre> | ||
{{warning_text| | {{warning_text| | ||
− | |text=Autopilot is '''obsolete''' and is only available for mods | + | |text=Autopilot is '''obsolete''' and is only available for mods. |
}} | }} | ||
</pre> | </pre> | ||
Line 102: | Line 136: | ||
gives: | gives: | ||
{{warning_text| | {{warning_text| | ||
− | |text=Autopilot is '''obsolete''' and is only available for mods | + | |text=Autopilot is '''obsolete''' and is only available for mods. |
}} | }} | ||
− | === | + | ===Moving from PHP Wiki=== |
'''Description''' | '''Description''' | ||
Line 117: | Line 151: | ||
==[[Manual:Keyboard layout#GENERAL currently available templates|Keyboard Templates]]== | ==[[Manual:Keyboard layout#GENERAL currently available templates|Keyboard Templates]]== | ||
+ | '''Description''' | ||
+ | |||
+ | These templates will display the keyboard key in question. This is used extensively in the manual and also in the keybindings section. | ||
+ | |||
+ | '''Usage''' | ||
+ | <pre>{{Key:Up}}</pre><BR/> | ||
+ | |||
+ | gives: | ||
+ | {{Key:Up}} | ||
+ | |||
+ | For further usage examples see [[Manual:Keyboard layout#GENERAL currently available templates|Keyboard Templates]]. | ||
==Interface Buttons== | ==Interface Buttons== | ||
===Current Buttons=== | ===Current Buttons=== | ||
+ | '''Description''' | ||
+ | |||
+ | |||
+ | '''Examples''' | ||
{{Button:Missions}} {{Button:News}} {{Button:Info}} {{Button:Accept}} {{Button:Done}} {{Button:Player_info}} {{Button:Ship_stats}} | {{Button:Missions}} {{Button:News}} {{Button:Info}} {{Button:Accept}} {{Button:Done}} {{Button:Player_info}} {{Button:Ship_stats}} | ||
+ | |||
+ | {{Button:Save_Load}} {{Button:Save}} {{Button:Load}} {{Button:Quit_game}} {{Button:New}} | ||
+ | |||
+ | {{Button:Cargo}} {{Button:Buy}} {{Button:Buy10}} {{Button:Buy1}} {{Button:Sell}}, {{Button:Sell10}} {{Button:Sell1}} | ||
+ | |||
+ | {{Button:Upgrades}} {{Button:Fix}} {{Button:Basic_repair}} | ||
'''Usage''' | '''Usage''' | ||
Line 131: | Line 186: | ||
gives: | gives: | ||
{{Button:Missions}} | {{Button:Missions}} | ||
+ | |||
+ | For further usage examples see [[Templates:Buttons|Button Templates]]. | ||
+ | |||
===Required Buttons=== | ===Required Buttons=== | ||
− | ==[[ | + | All the buttons for the Navigation computer have yet to be created as templates. |
+ | |||
+ | ==[[Templates:Database|Database Templates]]== | ||
+ | '''Description''' | ||
+ | |||
+ | '''Usage''' | ||
+ | <pre> | ||
+ | {{Description:Cargo| | ||
+ | |text=Generation upon generation of addicts have made the production | ||
+ | of coffee one of the largest industries in known space. | ||
+ | |image=coffee.png | ||
+ | |name=Coffee | ||
+ | |price=140 | ||
+ | |mass=0.01 | ||
+ | |space=1 | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | gives: | ||
+ | |||
+ | {{Description:Cargo| | ||
+ | |text=Generation upon generation of addicts have made the production of coffee one of the largest industries in known space. | ||
+ | |image=coffee.png | ||
+ | |name=Coffee | ||
+ | |price=140 | ||
+ | |mass=0.01 | ||
+ | |space=1 | ||
+ | }} | ||
+ | |||
+ | |||
+ | For further usage examples see [[Templates:Database|Database Templates]]. | ||
+ | |||
+ | ==See Also== | ||
− | + | * [[Manual:Keyboard layout|Keyboard Layout]] | |
+ | * | ||
+ | * | ||
[[Category:Templates]] | [[Category:Templates]] |
Latest revision as of 11:54, 9 July 2007
Contents
Description
Displays the main Wiki Navigation index. Place at the top of main section pages.
Usage
{{Wiki_Nav_Index}}
gives:
Description
Navigation arrows to go up to the previous level, as well as the previous and next item in the database.
Usage
{{NAV_Database | | previous=none | up=[[Vegastrike]] | next=[[Species]] }}
gives:
![]() |
![]() |
Species ![]() |
Description
Navigation arrows to go up to the previous level, as well as the previous and next article in the manual.
Usage
{{NAV_Manual | | previous=[[Manual:Computer:Ships screen|Ships screen]] | up=[[Manual#Inflight|Manual]] | next=[[Manual:Advanced flight|Advanced Flight]] }}
gives:
![]() |
![]() |
Advanced Flight ![]() |
Parent Link
Description
Navigation arrow to go back up a level.
Usage
{{parent_link|parent=[[Cargo:Food|Food]]}}
gives:
![]() |
The language bar is brought up by typing, for example.
{{Languages|De|VsWiki:Templates}}
This example gives:
Diese Seite in anderen Sprachen: Deutsch – English – Français – Español – Polski – Italiano – Nederlands – Руccкий – 简体中文
See VsWiki:Translation for information on the language bar.
General Editing Templates
Spoiler
Description
Put this at the top of any page which may contain spoilers for campaigns.
Usage
{{Spoiler}}
gives:
This page may contain SPOILERS of missions and other content of the game. Please do not read this if you want to play the game from the beginning and without knowledge you shouldn't have yet ;) |
Attention
Description
For pages that are currently only stubs or are only partially complete, place this at the top of the page. As well as adding the attention text to the page, the page will be placed under the Pages that need attention page for easy reference.
Usage
{{attention}}
gives:
Fixme
Description
This is a useful marker for small errors or additions required for pages. Pages will be placed under the Fixme page for easy reference.
Usage
{{Fixme}}
gives: FIXME
Warning Text
Description
Useful for highlighting important facts.
Usage
{{warning_text| |text=Autopilot is '''obsolete''' and is only available for mods. }}
gives:
Moving from PHP Wiki
Description
Usage
{{Moving_from_phpwiki}}
gives:
Keyboard Templates
Description
These templates will display the keyboard key in question. This is used extensively in the manual and also in the keybindings section.
Usage
{{Key:Up}}
gives:
For further usage examples see Keyboard Templates.
Interface Buttons
Current Buttons
Description
Examples
,
Usage
{{Button:Missions}}
gives:
For further usage examples see Button Templates.
Required Buttons
All the buttons for the Navigation computer have yet to be created as templates.
Database Templates
Description
Usage
{{Description:Cargo| |text=Generation upon generation of addicts have made the production of coffee one of the largest industries in known space. |image=coffee.png |name=Coffee |price=140 |mass=0.01 |space=1 }}
gives:
![]() |
|
Description
Generation upon generation of addicts have made the production of coffee one of the largest industries in known space.
For further usage examples see Database Templates.