Template:Won: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>AnemoneProjectors m Reverted edits by Masahiro Naoi (talk) to last version by DixonDBot |
meta>Crissov individual <templatedata>, let’s see which one is selected or if they’re combined automatically for the Visual Editor |
||
| Line 2: | Line 2: | ||
|- | |- | ||
|</noinclude>style="background: {{ | |</noinclude>style="background: {{ | ||
#switch: {{{place|Won}}} | #switch: {{lc:{{{place|Won}}}}} | ||
|Won = {{{color|<nowiki>#</nowiki>99FF99}}} | |Won = {{{color|<nowiki>#</nowiki>99FF99}}} | ||
|1|1st|gold | |1|1st|gold = {{{color|gold}}} | ||
|2|2nd|silver | |2|2nd|silver = {{{color|silver}}} | ||
|3|3rd|bronze | |3|3rd|bronze = {{{color|<nowiki>#</nowiki>D9A821}}} | ||
|#default = {{{color|<nowiki>#</nowiki> | |#default = {{{color|<nowiki>#</nowiki>F8EABA}}} | ||
}}; color: {{{text|black}}}; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}" class="yes table-yes2"|{{{1|{{{place|Won}}}}}}<noinclude> | }}; color: {{{text|black}}}; vertical-align: middle; text-align: {{{align|center}}}; {{{style|}}}" class="yes table-yes2"|{{{1|{{{place|Won}}}}}}<noinclude> | ||
|} | |} | ||
{{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> | ||
Revision as of 11:56, 30 June 2013
| Won |
Lua error in package.lua at line 80: module 'Module:Documentation/config' not found.
A table cell template to show the color-coded place in a competition.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Place | place | 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
| String | optional |