Difference between revisions of "VsWiki:Templates"

From VsWiki
Jump to: navigation, search
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.
  
 
'''Usage'''
 
'''Usage'''
Line 43: Line 43:
 
===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.
  
 
'''Usage'''
 
'''Usage'''
Line 63: Line 63:
  
 
===Parent Link===
 
===Parent Link===
 +
'''Description'''
 +
Navigation arrow to go back up a level.
  
 
'''Usage'''
 
'''Usage'''

Revision as of 10:33, 9 February 2006


Layout Templates

Wiki Navigation Index

Description

Displays the main Wiki Navigation index. Place at the top of main section pages.

Usage

{{Wiki_Nav_Index}}

gives:

Wiki Home | FAQ | Manual | Database | HowTos | Development | MODs | Links

Database Navigation

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:

main.php?g2_view=core.DownloadItem&g2_itemId=6604&g2_serialNumber=1&ext=.png none main.php?g2_view=core.DownloadItem&g2_itemId=6608&g2_serialNumber=1&ext=.png Vegastrike Species main.php?g2_view=core.DownloadItem&g2_itemId=6606&g2_serialNumber=1&ext=.png

Manual Navigation

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:

arrow_left.png Ships screen arrow_up.png Manual Advanced Flight arrow_right.png


Parent Link

Description Navigation arrow to go back up a level.

Usage

{{parent_link|parent=[[Cargo:Food|Food]]}}

gives:

thumb_arrow_up.png Food

General Editing Templates

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

Interface Buttons

Current Buttons

button_missions_small.png button_news_small.png button_info_small.png button_accept_small.png button_done_small.png button_player_info_small.png button_ship_stats_small.png

button_save_load_small2.png button_save_small_001.png button_load_small.png button_quit_game_small.png button_new_small.png

button_cargo_small.png button_buy_small.png button_buy10_small.png button_buy1_small.png button_sell_small.png, button_sell10_small.png button_sell1_small.png

button_upgrades_small.png button_fix_small.png button_basic_repair_small.png

mouse_button_left_small.png

Usage

{{Button:Missions}}

gives: button_missions_small.png

Required Buttons

All the buttons for the Navigation computer have yet to be created as templates.

Database Templates

These are to make the formating and