Jump to content

Template:AnimeMarble: Difference between revisions

From Joepedia
Created page with "<includeonly>| {{{index|}}} || {{{date|}}} || {{{for|}}} || {{{anime|}}} || {{#switch {{{reason|}}} |Gift = style="background-color: #FBDF6B;" | Gifted |Purchase = style="background-color: #7BCF5C;" | Purchased }} || {{{notes}}} || {{{reference}}} |-</includeonly><noinclude> <noinclude> <templatedata> { "params": { "index": { "label": "Marble Index", "description": "The number of this marble.", "type": "number", "required": true }, "date": { "la..."
 
No edit summary
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>| {{{index|}}} || {{{date|}}} || {{{for|}}} || {{{anime|}}} || {{#switch {{{reason|}}}
<!-- Temporarily commented due to bugs in Cargo.
   |Gift = style="background-color: #FBDF6B;" | Gifted
<noinclude>
  |Purchase = style="background-color: #7BCF5C;" | Purchased
  {{#cargo_declare:
}} || {{{notes}}} || {{{reference}}}
    _table = anime_marbles
|-</includeonly><noinclude>
    |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": {
"index": {
"1": {
"label": "Marble Index",
"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": "string",
"type": "content",
"required": true
"required": true
},
},
Line 42: Line 74:
],
],
"required": true
"required": true
},
"notes": {
"label": "Notes",
"description": "A description of why the marble was awarded and any additional context for it.",
"type": "content"
},
"reference": {
"label": "Reference",
"description": "A citation on why the marble was awarded, usually the stream moment it was redeemed or gifted.",
"type": "content",
"suggested": true
}
}
},
},
"description": "Represents a marble in [[The Anime Marble Race]]."
"description": "Represents a marble in The Anime Marble Race."
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 22:38, 23 January 2025


Represents a marble in The Anime Marble Race.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Marble Number1

The number of this marble.

Numberrequired
Datedate

The date this marble was added.

Auto value
{{subst:CURRENTDAY}} {{subst:CURRENTMONTHABBREV}} {{subst:CURRENTYEAR}}
Datesuggested
Marble Ownerfor

Who's name the marble is under.

Stringsuggested
Anime Nameanime

The name of the anime (or gimmick) the marble is for.

Contentrequired
Reasonreason

The reason this marble was awarded, this can either be a gift or a purchase with monocoins.

Suggested values
Gift Purchase
Stringrequired
Notesnotes

A description of why the marble was awarded and any additional context for it.

Contentoptional
Referencereference

A citation on why the marble was awarded, usually the stream moment it was redeemed or gifted.

Contentsuggested