Template:Navigation: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
No edit summary
Line 32: Line 32:
    <data source="prev4"><label>&larr; Previous</label><format>''{{da|{{{prev4}}}}}''</format></data>
    <data source="prev4"><label>&larr; Previous</label><format>''{{da|{{{prev4}}}}}''</format></data>
    <data source="next4"><label>Next &rarr;</label><format>''{{da|{{{next4}}}}}''</format></data>
    <data source="next4"><label>Next &rarr;</label><format>''{{da|{{{next4}}}}}''</format></data>
    </group>
   
    <group layout="horizontal">
    <header><div class="story-nav">{{{series5}}}</div></header>
    <data source="prev5"><label>&larr; Previous</label><format>''{{da|{{{prev5}}}}}''</format></data>
    <data source="next5"><label>Next &rarr;</label><format>''{{da|{{{next5}}}}}''</format></data>
    </group>
   
    <group layout="horizontal">
    <header><div class="story-nav">{{{series6}}}</div></header>
    <data source="prev6"><label>&larr; Previous</label><format>''{{da|{{{prev6}}}}}''</format></data>
    <data source="next6"><label>Next &rarr;</label><format>''{{da|{{{next6}}}}}''</format></data>
    </group>
   
    <group layout="horizontal">
    <header><div class="story-nav">{{{series7}}}</div></header>
    <data source="prev7"><label>&larr; Previous</label><format>''{{da|{{{prev7}}}}}''</format></data>
    <data source="next7"><label>Next &rarr;</label><format>''{{da|{{{next7}}}}}''</format></data>
    </group>
   
    <group layout="horizontal">
    <header><div class="story-nav">{{{series8}}}</div></header>
    <data source="prev8"><label>&larr; Previous</label><format>''{{da|{{{prev8}}}}}''</format></data>
    <data source="next8"><label>Next &rarr;</label><format>''{{da|{{{next8}}}}}''</format></data>
    </group>
   
    <group layout="horizontal">
    <header><div class="story-nav">{{{series9}}}</div></header>
    <data source="prev9"><label>&larr; Previous</label><format>''{{da|{{{prev9}}}}}''</format></data>
    <data source="next9"><label>Next &rarr;</label><format>''{{da|{{{next9}}}}}''</format></data>
    </group>
   
    <group layout="horizontal">
    <header><div class="story-nav">{{{series10}}}</div></header>
    <data source="prev10"><label>&larr; Previous</label><format>''{{da|{{{prev10}}}}}''</format></data>
    <data source="next10"><label>Next &rarr;</label><format>''{{da|{{{next10}}}}}''</format></data>
     </group>
     </group>
</infobox>
</infobox>

Revision as of 22:02, 2 February 2024


This template isn't fully cooked yet

We're still alpha testing it. You may find it used on live pages, but please do not use it yourself until this message has been removed.

Instructions for {{Navigation}}


{{Navigation}} is a template for use on story pages, when the number of navigation fields in a story infobox exceed 4.

Usage

Copy and paste the text below onto whichever article page it is needed for:

{{Navigation
|series    = 
|prev      = 
|next      = 
|series2   = 
|prev2     = 
|next2     = 
|series3   = 
|prev3     = 
|next3     = 
|series4   = 
|prev4     = 
|next4     = 
|series5   = 
|prev5     = 
|next5     = 
|series6   = 
|prev6     = 
|next6     = 
|series7   = 
|prev7     = 
|next7     = 
|series8   = 
|prev8     = 
|next8     = 
|series9   = 
|prev9     = 
|next9     = 
|series10  = 
|prev10    = 
|next10    = 
}}

If less than ten navigation fields are required, then simply remove the unneeded fields.

The "prev" and "next" fields automatically italicise, link to, and remove the disambiguation terms from the input provided. The "series" fields do not do this, and any formatting will need to be manually inserted.

Example usage:


{{Navigation
  | series=Example
  | prev=Example
  | next=Example
  }}