Vorlage:Spell Card Info/doc: Unterschied zwischen den Versionen

Aus Touhou Wiki
Zur Navigation springen Zur Suche springen
[unmarkierte Version][gesichtete Version]
imported>Nereid
Die Seite wurde neu angelegt: „<noinclude>{{Documentation subpage}}</noinclude> Generic Spell Card information template. By using the type parameter, different Spell Card Info structures can be…“
 
imported>KyoriAsh
K Interwiki link
 
(2 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 17: Zeile 17:
}}</pre>
}}</pre>


If the type parameter contains <code>ja-en</code>, the template parameter will contain <code>commentja</code> and <code>commenten</code> parameters to include the original comment and translated comment.
If the type parameter contains <code>ja-en</code>, the template parameter will contain <code>commentja</code> and <code>commentde</code> parameters to include the original comment and translated comment.
<pre>{{Spell Card Info
<pre>{{Spell Card Info
| type      =ja-de
| type      =ja-de
Zeile 31: Zeile 31:
}}</pre>
}}</pre>


If the type parameter contains <code>ds</code>, the template will contain <code>commentjpaya</code>, <code>commentenaya</code>, <code>commentjphatate</code> and <code>commentenhatate</code> for two different original comments available for the same spellcard, as in [[Double Spoiler]].
If the type parameter contains <code>ds</code>, the template will contain <code>commentjpaya</code>, <code>commentdeaya</code>, <code>commentjphatate</code> and <code>commentdehatate</code> for two different original comments available for the same spellcard, as in [[Double Spoiler]].
<pre>{{Spell Card Info
<pre>{{Spell Card Info
| type            =ds
| type            =ds
Zeile 76: Zeile 76:
[[en:Template:Spell Card Info]]
[[en:Template:Spell Card Info]]
[[es:Plantilla:Spell Card Info]]
[[es:Plantilla:Spell Card Info]]
[[fr:Modèle:Spell Card Info]]
<!--[[fr:Modèle:Spell Card Info]]-->
[[pl:Szablon:Spell Card Info]]
[[pl:Szablon:Spell Card Info]]
[[pt:Predefinição:Spell Card Info]]
[[pt:Predefinição:Spell Card Info]]
[[ru:Шаблон:Spell Card Info]]
[[ru:Шаблон:Spell Card Info]]
[[zh:模板:符卡资料]]
[[zh:模板:符卡资料]]
[[Kategorie:Templates|{{PAGENAME}}]]</includeonly>
[[Kategorie:Vorlagen|{{PAGENAME}}]]</includeonly>

Aktuelle Version vom 2. Januar 2018, 05:07 Uhr

Generic Spell Card information template. By using the type parameter, different Spell Card Info structures can be used.

Usage

Due to the parameter type that contains different parameters, please view the codes below for more information.

If the type parameter is blank, the default template will be used as below:

{{Spell Card Info
| image      =[[File:Image Link]]
| number     =Spell Card No.
| name       =Spell Card Name
| transname  =Spell Card Translated Name
| owner      =Spell Card Owner
| stage      =Stage that Spell Card appears in
| difficulty =Difficulty that Spell Card appears in
| comment    =Spell Card related comments
}}

If the type parameter contains ja-en, the template parameter will contain commentja and commentde parameters to include the original comment and translated comment.

{{Spell Card Info
| type       =ja-de
| image      =[[File:Image Link]]
| number     =Spell Card No.
| name       =Spell Card Name
| transname  =Spell Card Translated Name
| owner      =Spell Card Owner
| stage      =Stage that Spell Card appears in
| difficulty =Difficulty that Spell Card appears in
| commentjp  =Spell Card comments in Japanese
| commentde  =Translated Spell Card Comments
}}

If the type parameter contains ds, the template will contain commentjpaya, commentdeaya, commentjphatate and commentdehatate for two different original comments available for the same spellcard, as in Double Spoiler.

{{Spell Card Info
| type             =ds
| image            =[[File:Image Link]]
| number           =Spell Card No.
| name             =Spell Card Name
| transname        =Spell Card Translated Name
| owner            =Spell Card Owner
| stage            =Stage that Spell Card appears in
| difficulty       =Difficulty that Spell Card appears in
| commentjpaya     =Aya's Spell Card comments in Japanese
| commentdeaya     =Aya's Translated Spell Card Comments
| commentjphatate  =Hatate's Spell Card comments in Japanese
| commentdehatate  =Hatate's Translated Spell Card comments
}}

For Fighting game parameter, we use ftg-spell or ftg-skill to implement the template to fit with the usage in all Fighting-Type Touhou games, the parameters of ftg-spell are as below:

{{Spell Card Info
| type      =ftg-spell
| number    =Number
| image     =[[File:Picture of spell card preferably in.png]]<br /><br />[[File:Picture of spell card in use preferably in.png|200px]]
| name      =Japanese Name
| transname =Translated Name
| cost      =Cost to use
| commentjp =Comment in Japanese
| commentde =Translation of Japanese comment
| usage     =Details of spell card use
}}

For ftg-skill, the same parameters as ftg-spell apply, but you have to change the parameter type to ftg-skill only.

For IaMP, we use iamp:

{{Spell Card Info
| type      =iamp
| number    =Number
| image     =[[File:Picture of spell card preferably in.png]]
| name      =Japanese Name
| transname =Translated Name
| rank      =Rank
| position  =Position
| comment   =Comment
| usage     =Details of spell card use
}}