Template:Won: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Crissov
individual <templatedata>, let’s see which one is selected or if they’re combined automatically for the Visual Editor
Ookami (talk | contribs)
m 61 revisions imported
 
(5 intermediate revisions by 5 users not shown)
Line 3: Line 3:
|</noinclude>style="background: {{
|</noinclude>style="background: {{
#switch: {{lc:{{{place|Won}}}}}
#switch: {{lc:{{{place|Won}}}}}
   |Won = {{{color|<nowiki>#</nowiki>99FF99}}}
   |won = {{{color|<nowiki>#</nowiki>99FF99}}}
   |1|1st|gold = {{{color|gold}}}
   |1|1st|gold = {{{color|gold}}}
   |2|2nd|silver = {{{color|silver}}}
   |2|2nd|silver = {{{color|silver}}}
Line 11: Line 11:
|}
|}
{{Documentation|Template:Table cell templates/doc}}
{{Documentation|Template:Table cell templates/doc}}
<templatedata>{
"description": "A table cell template to show the color-coded place in a competition.",
"params": {
  "place": {
    "label": "Place",
    "description": "values like ‘1’, ‘2’, ‘3’ or ‘gold’, ‘silver’, ‘bronze’ automatically change the background color accordingly and the text displayed, too, unless an anonymous first parameter is specified, other values also show up, but with a default color",
    "type": "string",
    "default": "Won",
    "required": false
  }
}}</templatedata>
</noinclude>
</noinclude>

Latest revision as of 13:32, 3 September 2020

Won