Template:SCTable

From Touhou Wiki
Jump to navigation Jump to search
Name Translated Comments Games Stage
Total: {{{1}}}
Template documentation[view] [edit] [history] [purge]

This is mainly used at the List of Spell Cards to begin tables for characters' spell cards.


{{SpellCardTable| {1} | {2} }}

Parameters[edit]

{1}[edit]

{1} is for giving the number of spell cards that character has.
  • Example: {{SCTable|42}} means that character has 42 spell cards.

{2} (Optional)[edit]

{2} is for anything in a new line following "Total: ??".

Usage[edit]

There are two ways this template can be used.

As a header[edit]

This template can be used to start a table, with the rest of the table done in plain. You still need to end the table properly with |}.

For example:
{{SCTable|4}}
|-
|蝶符「ミニットスケールス」
|Butterfly Sign "Minute Scales"
|
|{{SC|g=HSiFS|s=1|n=1}}
|St. 1: E/N
|-
|蝶符「アゲハの鱗粉」
|Butterfly Sign "Swallowtail's Scales"
|
|{{SC|g=HSiFS|s=1|n=3}}
|St. 1: H/L
|}

produces

Name Translated Comments Games Stage
Total: 4
蝶符「ミスケールス」 Butterfly Sign "Minute Scales" HSiFS St. 1: E/N
蝶符「アゲハの鱗粉」 Butterfly Sign "Swallowtail's Scales" HSiFS St. 1: H/L

Header with SCEntry[edit]

The SCEntry template is designed so that it can just be appended to ends of tables with this format. You will still need to end the table properly.

For example:
{{SCTable|4}}
|-
{{SCEntry
|n=蝶符「ミニットスケールス」
|tn=Butterfly Sign "Minute Scales"
|c=
|g={{SC|g=HSiFS|s=1|n=1}}
|s=St. 1: E/N
|o=
|r=
}}
{{SCEntry
|n=蝶符「アゲハの鱗粉」
|tn=Butterfly Sign "Swallowtail's Scales"
|c=
|g={{SC|g=HSiFS|s=1|n=3}}
|s=St. 1: H/L
|o=
|r=
}}
|}

produces

Name Translated Comments Games Stage
Total: 4
蝶符「ミニットスケールス」 Butterfly Sign "Minute Scales" HSiFS St. 1: E/N
蝶符「アゲハの鱗粉」 Butterfly Sign "Swallowtail's Scales" HSiFS St. 1: H/L