Template:Order navigation: Difference between revisions

From TenthFleet
Jump to navigation Jump to search
WUnderhill (talk | contribs)
No edit summary
m Modernize: replace <center> with .tf-cnav (TemplateStyles) [audit Batch C Wave 2]
Line 1: Line 1:
<center>
<templatestyles src="Navbox/styles.css" />
{| class="wikitable"
{| class="wikitable tf-cnav"
|-  
|-  
! [[{{{previous_order}}}|<< Previous]] || [[{{{chapter_page|}}}|{{{order_series|}}} Index]] || [[{{{next_order|}}}|Next >>]]
! [[{{{previous_order}}}|<< Previous]] || [[{{{chapter_page|}}}|{{{order_series|}}} Index]] || [[{{{next_order|}}}|Next >>]]
|}
|}
</center>
<noinclude>
<noinclude>
==Purpose & Use==
==Purpose & Use==

Revision as of 08:21, 12 July 2026

[[{{{previous_order}}}|<< Previous]] [[| Index]] [[|Next >>]]

Purpose & Use

  1. To insert a standardized header which provides quick access to the orders for a specific chapter.
  2. 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
| previous_order = HMS Generic Ship's Order 1010-01
| chapter_page = HMS Generic (DD-00)#Ship's Orders
| order_series = GENERICORD
| next_order = HMS Generic Ship's Order 1010-03
}}

<< Previous GENERICORD Index Next >>

{{Order_navigation
| previous_order = HMS Generic Ship's Order 1010-01
| chapter_page = HMS Generic (DD-00)
}}

<< Previous Index [[|Next >>]]