Difference between revisions of "Template:Order navigation"
WUnderhill (talk | contribs) (Created page with "<center> {| class="wikitable" |- ! [[<< Previous|{{previous_order}}]] || [[{{order_series}} Index|{{chapter_page}} || [[Next >>|{{next_order}}]] |} </center> <noinclude> ==Pu...") |
WUnderhill (talk | contribs) |
||
Line 2: | Line 2: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! [[ | ! [[{{{previous_order}}}|<< Previous]] || [[{{{chapter_page|}}}|{{{order_series|}}} Index]] || [[{{{next_order|}}}|Next >>]] | ||
|} | |} | ||
</center> | </center> | ||
Line 13: | Line 13: | ||
<nowiki>{{Orders_quick_buttons</nowiki><br> | <nowiki>{{Orders_quick_buttons</nowiki><br> | ||
<nowiki>|previous_order = </nowiki>''article name of previous order in the series. Required. NOTE: Remember to edit the previous order and set its '''next_order''' to point to the new one.''<br> | <nowiki>|previous_order = </nowiki>''article name of previous order in the series. Required. NOTE: Remember to edit the previous order and set its '''next_order''' to point to the new one.''<br> | ||
<nowiki>| | <nowiki>|chapter_page = </nowiki>''name of the chapter's page; should include the sub-head to navigate directly to the index. Required.''<br> | ||
<nowiki>| | <nowiki>|order_series = </nowiki>''name of order series; typically the name of the chapter. Optional.''<br> | ||
<nowiki>|next_order = </nowiki>''article name of the next order in the series. Optional.''<br> | <nowiki>|next_order = </nowiki>''article name of the next order in the series. Optional.''<br> | ||
<nowiki>}}</nowiki> | <nowiki>}}</nowiki> | ||
== | ==Examples== | ||
All four parameters specified: | |||
{| class="wikitable" | {| class="wikitable" | ||
! Markup | ! Markup | ||
Line 26: | Line 27: | ||
<nowiki>{{Order_navigation</nowiki><br> | <nowiki>{{Order_navigation</nowiki><br> | ||
<nowiki>| previous_order = HMS Generic Ship's Order 1010-01</nowiki><br> | <nowiki>| previous_order = HMS Generic Ship's Order 1010-01</nowiki><br> | ||
<nowiki>| chapter_page = HMS Generic (DD-00)#Ship's Orders</nowiki><br> | |||
<nowiki>| order_series = GENERICORD</nowiki><br> | <nowiki>| order_series = GENERICORD</nowiki><br> | ||
<nowiki>| next_order = HMS Generic Ship's Order 1010-03</nowiki><br> | |||
<nowiki>| next_order = HMS Generic Ship's Order 1010- | |||
<nowiki>}}</nowiki> | <nowiki>}}</nowiki> | ||
| | | | ||
{{Order_navigation | {{Order_navigation | ||
| | | previous_order = HMS Generic Ship's Order 1010-01 | ||
| order_series = GENERICORD | | order_series = GENERICORD | ||
| chapter_page = HMS Generic (DD-00)#Ship's Orders | | chapter_page = HMS Generic (DD-00)#Ship's Orders | ||
| next_order = HMS Generic Ship's Order 1010- | | next_order = HMS Generic Ship's Order 1010-03 | ||
}} | |||
|- | |||
Required parameters only specified: | |||
{| class="wikitable" ! Markup | As Displayed | |||
|- | |||
| | |||
<nowiki>{{Order_navigation</nowiki><br> | |||
<nowiki>| previous_order = HMS Generic Ship's Order 1010-01</nowiki><br> | |||
<nowiki>| chapter_page = HMS Generic (DD-00)</nowiki><br> | |||
<nowiki>}}</nowiki> | |||
| | |||
{{Order_navigation | |||
| previous_order = HMS Generic Ship's Order 1010-01 | |||
| chapter_page = HMS Generic (DD-00) | |||
}} | }} | ||
|} | |} |
Latest revision as of 17:42, 20 May 2017
[[{{{previous_order}}}|<< Previous]] | [[| Index]] | [[|Next >>]] |
---|
Purpose & Use
- To insert a standardized header which provides quick access to the orders for a specific chapter.
- Insert {{order_navigation}} following the disclaimer template, and again at the bottom.
Syntax
{{Orders_quick_buttons
|previous_order = article name of previous order in the series. Required. NOTE: Remember to edit the previous order and set its next_order to point to the new one.
|chapter_page = name of the chapter's page; should include the sub-head to navigate directly to the index. Required.
|order_series = name of order series; typically the name of the chapter. Optional.
|next_order = article name of the next order in the series. Optional.
}}
Examples
All four parameters specified:
Required parameters only specified:Markup | As displayed | |||
---|---|---|---|---|
{{Order_navigation |
|
{{Order_navigation |
|