Template:Suite: Difference between revisions
mNo edit summary |
Slightly simpler |
||
| Line 1: | Line 1: | ||
<includeonly>{{#if:{{{content|{{{1|}}}}}}|<div class="tt1_suite"> | <includeonly>{{#if:{{{content|{{{1|}}}}}}|<div class="tt1_suite"> | ||
{{{content|{{{1|}}}}}} | {{{content|{{{1|}}}}}} | ||
</div> | </div>|{{:{{#titleparts:{{FULLPAGENAMEE}}|1}}/suite}}}}</includeonly><noinclude>{{doc}} | ||
[[Category:templates]] | [[Category:templates]] | ||
</noinclude> | </noinclude> | ||
Revision as of 08:53, 3 February 2010
{{suite}} and {{subsuite}} are templates which create a quicknav for an article "suite"; usually one article which has been broken into many pieces for length.
Add {{subsuite}} to the top of each page with the article names in a list.
{{subsuite|content=* [[Optimus Prime (G1)]]
* [[Optimus Prime (G1)/toys]]
}}
When {{subsuite}} is used after a disambig tag, it will automatically switch to a truncated form and 'hug' the template above. (Occupying the empty space to the right of the continuity note without pushing article content down.)
{{suite}}
If a page is broken into many pieces (such as Optimus Prime (G1)) it may be preferable to create a single sub-page with the suite contents rather than updating it on all the pages by hand. Create a page such as Optimus Prime (G1)/suite, and include the template as described above.
You can then add the bare tag {{suite}} with no parameters and the "/suite" subpage will be automatically included.
Technical notes
- Template: Subsuite was previously a redirect to suite, but now holds the actual template code for generating the suite contents.

