Template:AnimeMarble: Difference between revisions
No edit summary |
No edit summary |
||
(18 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>| {{{ | <!-- Temporarily commented due to bugs in Cargo. | ||
| | <noinclude> | ||
{{#cargo_declare: | |||
}} | _table = anime_marbles | ||
|marble_index = Integer(unique;mandatory) | |||
|date = Date | |||
|owner = String | |||
|anime = Wikitext | |||
|reason = String(allowed values=Gift,Purchase) | |||
|notes = Wikitext | |||
|reference = Wikitext | |||
}} | |||
</noinclude>--><includeonly> | |||
<!---{{#cargo_store: | |||
_table = anime_marbles | |||
|marble_index = {{{1|}}} | |||
|date = {{{date|}}} | |||
|owner = {{{for|}}} | |||
|anime = {{{anime|}}} | |||
|reason = {{{reason|}}} | |||
|notes = {{{notes|}}} | |||
|reference = {{{reference|}}} | |||
}}-->|- | |||
| {{{1|}}} | |||
| {{{date|}}} | |||
| {{Person|{{{for|}}}}} | |||
| {{{anime|}}} | |||
| style="background-color:{{#switch: {{{reason|}}} | |||
|Gift=<nowiki>#FBDF6B</nowiki> | |||
|Purchase=<nowiki>#7BCF5C</nowiki> | |||
}};" | {{#switch:{{{reason|}}} | |||
|Gift=Gifted | |||
|Purchase=Purchased | |||
}} | |||
| {{{notes|}}} | |||
| {{{reference|}}} | |||
</includeonly><noinclude> | |||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
" | "1": { | ||
"label": "Marble | "label": "Marble Number", | ||
"description": "The number of this marble.", | "description": "The number of this marble.", | ||
"type": "number", | "type": "number", | ||
Line 30: | Line 62: | ||
"label": "Anime Name", | "label": "Anime Name", | ||
"description": "The name of the anime (or gimmick) the marble is for.", | "description": "The name of the anime (or gimmick) the marble is for.", | ||
"type": " | "type": "content", | ||
"required": true | "required": true | ||
}, | }, | ||
Line 46: | Line 78: | ||
"label": "Notes", | "label": "Notes", | ||
"description": "A description of why the marble was awarded and any additional context for it.", | "description": "A description of why the marble was awarded and any additional context for it.", | ||
"type": " | "type": "content" | ||
}, | }, | ||
"reference": { | "reference": { | ||
"label": "Reference", | "label": "Reference", | ||
"description": "A citation on why the marble was awarded, usually the stream moment it was redeemed or gifted.", | "description": "A citation on why the marble was awarded, usually the stream moment it was redeemed or gifted.", | ||
"type": " | "type": "content", | ||
"suggested": true | "suggested": true | ||
} | } |