Template:Navigation: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<infobox> | <infobox> | ||
<title source=" | <title source="name"><default>Navigation</default></title> | ||
<!-- Navigation --> | |||
<group layout="horizontal"> | |||
<header>Navigation</header> | |||
<header><div class="story-nav">{{{series}}}{{#set:series={{{series}}}}}</div></header> | |||
<data source="prev"><label>← Previous</label><format>''{{da|{{{prev}}}}}''</format></data> | |||
<data source="next"><label>Next →</label><format>''{{da|{{{next}}}}}''</format></data> | |||
</group> | |||
<group layout="horizontal"> | |||
<header><div class ="story-nav">{{{series2}}}</div></header> | |||
<data source="prev2"><label>← Previous</label><format>''{{da|{{{prev2}}}}}''</format></data> | |||
<data source="next2"><label>Next →</label><format>''{{da|{{{next2}}}}}''</format></data> | |||
</group> | |||
<group layout="horizontal"> | |||
<header><div class="story-nav">Production order</div></header> | |||
<data source="made prev"><label>← Previous</label><format>''{{da|{{{made prev}}}}}''</format></data> | |||
<data source="made next"><label>Next →</label><format>''{{da|{{{made next}}}}}''</format></data> | |||
</group> | |||
<group layout="horizontal"> | |||
<header><div class="story-nav">{{{series3}}}</div></header> | |||
<data source="prev3"><label>← Previous</label><format>''{{da|{{{prev3}}}}}''</format></data> | |||
<data source="next3"><label>Next →</label><format>''{{da|{{{next3}}}}}''</format></data> | |||
</group> | |||
<group layout="horizontal"> | |||
<header><div class="story-nav">{{{series4}}}</div></header> | |||
<data source="prev4"><label>← Previous</label><format>''{{da|{{{prev4}}}}}''</format></data> | |||
<data source="next4"><label>Next →</label><format>''{{da|{{{next4}}}}}''</format></data> | |||
</group> | |||
</infobox> | </infobox> | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
{{TempInuse}} | |||
{{Documentation}} | |||
Example usage: | Example usage: | ||
{{Navigation | {{Navigation | ||
| | | series=Example | ||
| prev=Example | |||
| next=Example | |||
}} | |||
<pre> | <pre> | ||
{{Navigation | {{Navigation | ||
| | | series=Example | ||
| prev=Example | |||
| next=Example | |||
}} | |||
</pre> | </pre> | ||
</noinclude> | </noinclude> |
Revision as of 21:58, 2 February 2024
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.
{{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 }}