Template:Festival tag

From Runes of Magic Wiki
Jump to: navigation, search

This is the generic festival tag template and should be called only by the other festival templates.

Skeleton to create a festival template:

{{Festival tag|festival_name|festival_icon|festival_months|{{{1|}}}|border=|background=|text=|link=|px=|noclear={{{noclear|}}}|float={{{float|right}}}|year=}}

Usage: <nowiki>{{</nowiki>'''template_name'''|''subheading''|'''noclear='''|'''float='''|'''year='''}}

All content displaying this tag will be added to [[:Category:festival_name]] (unless '''nolink=''' is not blank).
{{BWS|t}}[[Category:World Event Templates]]

Usage for every Festival tag template should be: {{template_name|subheading|nolink=}}

1 festival_name
should exactly match the festival name as it appears in the table at Category:Festivals
2 festival_icon
the complete name of the icon, including extender.
3 festival_months
(optional) general time period of this festival
4 subheading
(optional) Causes the link to the festival's category page to link directly to the named subheading. Spelling and capitalization are important!
border, background, text, link
colors. link is optional
size of the icon to display. If blank, the icon will be shown full size. If you need to control height and width, use the format hhhxwww where the x between the height and width is the letter x.
(switch) Normally, this template performs an HTML formatting clear at the very top of th template. This switch suppresses that clear. It should not be used very often but is occasionally useful.
left, none, or right. Overrides default of float=right. If not blank, and not left or right, all other values are treated as "none"
Causes the link to the festival category page to link directly to the named subheading within that page. Spelling and capitalization are important!
(optional) State the year this page is relevant to. Could also state the range of years, such as 2019-2020, or 2019 to 2020. This field was not in use when the Festval-specific tegs were created, so |year={{{year|}}} needs to be added if you want to use this field.

nolink has to be handled by the unique festival template to avoid problems with transclusion.

This template was created, or is maintained, by Bludwyng (contribs).

In-game, you can find me on Aeterna. I regularly play: Mithrandyr, Bludwyng, Grymjack

Bludwyng's: PagesTemplatesWants/HavesSandbox