Template:Navigation: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
(Trying to fix some formatting issues on Previously On... The Multiverse (short story))
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>
<includeonly><infobox>
<infobox>
   <title source="name"><default>Navigation</default></title>
   <title source="name"><default>Navigation</default></title>
   <!-- Navigation -->  
   <!-- Navigation -->  
Line 33: Line 32:
    <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>
</infobox>
   
</includeonly>
    <group layout="horizontal">
<noinclude>
    <header><div class="story-nav">{{{series5}}}</div></header>
{{TempInuse}}
    <data source="prev5"><label>&larr; Previous</label><format>''{{da|{{{prev5}}}}}''</format></data>
{{Documentation}}
    <data source="next5"><label>Next &rarr;</label><format>''{{da|{{{next5}}}}}''</format></data>
Example usage:
    </group>
{{Navigation
   
  | series=Example
    <group layout="horizontal">
  | prev=Example
    <header><div class="story-nav">{{{series6}}}</div></header>
  | next=Example
    <data source="prev6"><label>&larr; Previous</label><format>''{{da|{{{prev6}}}}}''</format></data>
  }}
    <data source="next6"><label>Next &rarr;</label><format>''{{da|{{{next6}}}}}''</format></data>
<pre>
    </group>
{{Navigation
   
  | series=Example
    <group layout="horizontal">
  | prev=Example
    <header><div class="story-nav">{{{series7}}}</div></header>
  | next=Example
    <data source="prev7"><label>&larr; Previous</label><format>''{{da|{{{prev7}}}}}''</format></data>
  }}
    <data source="next7"><label>Next &rarr;</label><format>''{{da|{{{next7}}}}}''</format></data>
</pre>
    </group>
</noinclude>
   
    <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>
</infobox></includeonly><noinclude>{{TempInuse}}{{Documentation}}</pre></noinclude>

Latest revision as of 16:39, 24 March 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[[edit source]]

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.