Template:WPBannerDoc/collaboration: Difference between revisions
Appearance
imported>Deadfire m updating |
Tungstenchan (talk | contribs) m Text replacement - "BattleTechWiki" to "BattleIntelligence" |
||
| Line 9: | Line 9: | ||
:– Triple braces and pipes should be excluded from the values of {{para|candidate}}, {{para|current}} and {{para|past}}. | :– Triple braces and pipes should be excluded from the values of {{para|candidate}}, {{para|current}} and {{para|past}}. | ||
==Example== | ==Example== | ||
{{nowiki template demo|code=<nowiki>{{WPBannerDoc/collaboration|LINK= | {{nowiki template demo|code=<nowiki>{{WPBannerDoc/collaboration|LINK=BattleIntelligence:WikiProject Characters/Collaboration|candidate=collaboration-candidate|CANDIDATE_CAT=Characters collaboration candidates|current=current-collaboration|CURRENT_CAT=Current characters collaboration|past=past-collaboration|PAST_CAT=Past characters collaboration}}</nowiki>}} | ||
[[Category:WikiProject banner documentation templates|{{SUBPAGENAME}}]] | [[Category:WikiProject banner documentation templates|{{SUBPAGENAME}}]] | ||
}}</noinclude> | }}</noinclude> | ||
Latest revision as of 00:08, 1 May 2025
- {{{candidate}}} – set
|{{{candidate}}}=yesif the page is a candidate to be the [[{{{LINK}}}|project collaboration]].- This parameter populates [[:Category:{{{CANDIDATE_CAT}}}|Category:{{{CANDIDATE_CAT}}}]].
- {{{current}}} – set
|{{{current}}}=yesif the page is currently the [[{{{LINK}}}|project collaboration]].- This parameter populates [[:Category:{{{CURRENT_CAT}}}|Category:{{{CURRENT_CAT}}}]].
- {{{past}}} – set
|{{{past}}}=yes(or any non-blank value other than "no", "n", "0" or "¬", such as the dates it was part of the collaboration) if the page was a past [[{{{LINK}}}|project collaboration]].- This parameter populates [[:Category:{{{PAST_CAT}}}|Category:{{{PAST_CAT}}}]].
File:Test Template Info-Icon - Version (2).svg Template documentation
Usage
- Parameters
{{WPBannerDoc/collaboration |LINK= |TEXT= |candidate= |CANDIDATE_CAT= |current= |CURRENT_CAT= |past= |PAST_CAT= }}
- – Triple braces and pipes should be excluded from the values of
|candidate=,|current=and|past=.
Example
{{WPBannerDoc/collaboration|LINK=BattleIntelligence:WikiProject Characters/Collaboration|candidate=collaboration-candidate|CANDIDATE_CAT=Characters collaboration candidates|current=current-collaboration|CURRENT_CAT=Current characters collaboration|past=past-collaboration|PAST_CAT=Past characters collaboration}}
- collaboration-candidate – set
|collaboration-candidate=yesif the page is a candidate to be the project collaboration.- This parameter populates Category:Characters collaboration candidates.
- current-collaboration – set
|current-collaboration=yesif the page is currently the project collaboration.- This parameter populates Category:Current characters collaboration.
- past-collaboration – set
|past-collaboration=yes(or any non-blank value other than "no", "n", "0" or "¬", such as the dates it was part of the collaboration) if the page was a past project collaboration.- This parameter populates Category:Past characters collaboration.