Difference between revisions of "VsWiki:Templates"

From VsWiki
Jump to: navigation, search
Line 1: Line 1:
 
{{attention}}
 
{{attention}}
  
This is currently a stub for reference and description of all the templates.
 
  
 
==Layout Templates==
 
==Layout Templates==
 +
===Wiki Navigation Index===
 +
'''Description'''
 +
Displays the main Wiki Navigation index.  Place at the top of main section pages.
 +
 +
'''Usage'''
 +
<pre>
 
{{Wiki_Nav_Index}}
 
{{Wiki_Nav_Index}}
 +
</pre>
 +
 +
gives:
 +
{{Wiki_Nav_Index}}
 +
 +
===Database Navigation===
 +
'''Description'''
 +
 +
 +
'''Usage'''
 +
<pre>
 +
{{NAV_Database |
 +
| previous=none
 +
| up=[[Vegastrike]]
 +
| next=[[Species]]
 +
}}
 +
 +
</pre>
  
 +
gives:
 
{{NAV_Database |
 
{{NAV_Database |
 
| previous=none
 
| previous=none
Line 12: Line 36:
 
}}
 
}}
  
 +
===Manual Navigation===
 +
'''Description'''
 +
 +
 +
'''Usage'''
 +
<pre>
 +
{{NAV_Manual |
 +
| previous=[[Manual:Computer:Ships screen|Ships screen]]
 +
| up=[[Manual#Inflight|Manual]]
 +
| next=[[Manual:Advanced flight|Advanced Flight]]
 +
}}
 +
</pre>
 +
 +
gives:
 
{{NAV_Manual |
 
{{NAV_Manual |
 
| previous=[[Manual:Computer:Ships screen|Ships screen]]
 
| previous=[[Manual:Computer:Ships screen|Ships screen]]
Line 19: Line 57:
  
 
==General Editing Templates==
 
==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 [[:Category:Pages_needing_attention|Pages that need attention]] page for easy reference.
 +
 +
'''Usage'''
 
<pre>
 
<pre>
 
{{attention}}
 
{{attention}}
Line 25: Line 68:
 
gives:
 
gives:
 
{{attention}}
 
{{attention}}
 +
 +
===Fixme===
 +
'''Description'''
 +
This is a useful marker for small errors or additions required for pages.  Pages will be placed under the [[:Category:Fixme|Fixme]] page for easy reference.
 +
 +
'''Usage'''
 +
<pre>
 +
{{Fixme}}
 +
</pre>
 +
 +
gives:
 +
{{Fixme}}
 +
 +
===Warning Text===
 +
'''Description'''
 +
Useful for highlighting important facts.
 +
 +
'''Usage'''
 +
<pre>
 +
{{warning_text|
 +
|text=Autopilot is '''obsolete''' and is only available for mods.  It it not used in the Core game.
 +
}}
 +
</pre>
 +
 +
gives:
 +
{{warning_text|
 +
|text=Autopilot is '''obsolete''' and is only available for mods.  It it not used in the Core game.
 +
}}
 +
 +
===Miving from PHP Wiki===
 +
'''Description'''
 +
 +
'''Usage'''
 +
<pre>
 +
{{Moving_from_phpwiki}}
 +
</pre>
 +
 +
gives:
 
{{Moving_from_phpwiki}}
 
{{Moving_from_phpwiki}}
{{Fixme}}
 
  
 
==[[Manual:Keyboard layout#GENERAL currently available templates|Keyboard Templates]]==
 
==[[Manual:Keyboard layout#GENERAL currently available templates|Keyboard Templates]]==
 +
 +
==Interface Buttons==
  
 
==[[Database_Templates|Database Templates]]==
 
==[[Database_Templates|Database Templates]]==

Revision as of 09:04, 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


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


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

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

Database Templates

These are to make the formating and