Difference between revisions of "VsWiki:Templates"
Line 22: | Line 22: | ||
===Database Navigation=== | ===Database Navigation=== | ||
'''Description''' | '''Description''' | ||
+ | |||
Navigation arrows to go up to the previous level, as well as the previous and next item in the database. | Navigation arrows to go up to the previous level, as well as the previous and next item in the database. | ||
Line 43: | Line 44: | ||
===Manual Navigation=== | ===Manual Navigation=== | ||
'''Description''' | '''Description''' | ||
+ | |||
Navigation arrows to go up to the previous level, as well as the previous and next article in the manual. | Navigation arrows to go up to the previous level, as well as the previous and next article in the manual. | ||
Line 64: | Line 66: | ||
===Parent Link=== | ===Parent Link=== | ||
'''Description''' | '''Description''' | ||
+ | |||
Navigation arrow to go back up a level. | Navigation arrow to go back up a level. | ||
Line 77: | Line 80: | ||
===Spoiler=== | ===Spoiler=== | ||
'''Description''' | '''Description''' | ||
+ | |||
Put this at the top of any page which may contain spoilers for campaigns. | Put this at the top of any page which may contain spoilers for campaigns. | ||
Line 142: | Line 146: | ||
==[[Manual:Keyboard layout#GENERAL currently available templates|Keyboard Templates]]== | ==[[Manual:Keyboard layout#GENERAL currently available templates|Keyboard Templates]]== | ||
+ | '''Description''' | ||
+ | |||
+ | |||
+ | '''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}} | ||
Line 172: | Line 190: | ||
==[[Database_Templates|Database Templates]]== | ==[[Database_Templates|Database Templates]]== | ||
+ | '''Description''' | ||
+ | |||
+ | '''Usage''' | ||
+ | <pre> | ||
+ | {{Description:Cargo| | ||
+ | |text=This is an example of a description, with the default head up display image. | ||
+ | |image=cargo-hud.png | ||
+ | |name=Cargo name | ||
+ | |price=1000 | ||
+ | |mass=0.01 | ||
+ | |space=1 | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | gives | ||
+ | {{Description:Cargo| | ||
+ | |text=This is an example of a description, with the default head up display image. | ||
+ | |image=cargo-hud.png | ||
+ | |name=Cargo name | ||
+ | |price=1000 | ||
+ | |mass=0.01 | ||
+ | |space=1 | ||
+ | }} | ||
For further usage examples see [[Templates:Database|Database Templates]]. | For further usage examples see [[Templates:Database|Database Templates]]. | ||
[[Category:Templates]] | [[Category:Templates]] |
Revision as of 10:50, 9 February 2006
Contents
Layout Templates
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:
none | Vegastrike | 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:
Ships screen | Manual | Advanced Flight |
Parent Link
Description
Navigation arrow to go back up a level.
Usage
{{parent_link|parent=[[Cargo:Food|Food]]}}
gives:
Food |
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. It it not used in the Core game. }}
gives:
Miving from PHP Wiki
Description
Usage
{{Moving_from_phpwiki}}
gives:
Keyboard Templates
Description
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=This is an example of a description, with the default head up display image. |image=cargo-hud.png |name=Cargo name |price=1000 |mass=0.01 |space=1 }}
gives
|
Description
This is an example of a description, with the default head up display image.
For further usage examples see Database Templates.