Template:AnimeMarble: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
<includeonly>| {{{index|}}} || {{{date|}}} || {{{for|}}} || {{{anime|}}} || {{#switch {{{reason|}}}
<noinclude>
  |Gift = style="background-color: #FBDF6B;" | Gifted
  {{#cargo_declare:
  |Purchase = style="background-color: #7BCF5C;" | Purchased
    _table = anime_marbles
}} || {{{notes}}} || {{{reference}}}
    |index = Integer(unique;mandatory)
    |date = Date
    |for = String
    |anime = String
    |reason = String(mandatory,allowed values=Gift,Purchase)
    |notes = Wikitext
    |reference = Wikitext string
  }}
</noinclude><includeonly>
  {{#cargo_store:
    _table = anime_marbles
    |index = {{{index}}}
    |date = {{{date|}}}
    |for = {{{for|}}}
    |anime = {{{anime|}}}
    |reason = {{{reason|}}}
    |notes = {{{notes|}}}
    |reference = {{{reference|}}}
  }}| {{{index|}}} || {{{date|}}} || {{{for|}}} || {{{anime|}}} || {{#switch {{{reason|}}}
    |Gift = style="background-color: #FBDF6B;" | Gifted
    |Purchase = style="background-color: #7BCF5C;" | Purchased
  }} || {{{notes}}} || {{{reference}}}
|-</includeonly><noinclude>
|-</includeonly><noinclude>
<noinclude>
<noinclude>