« Modèle:Spell Card Info » : différence entre les versions

De Touhou Wiki
Aller à la navigation Aller à la recherche
(Page créée avec « <includeonly><div class="scwrapper"> <div class="scimage">{{{image}}}</div> <div class="scinfo"> {{#switch: {{{type}}} | #default ={{Spell Card In... »)
 
mAucun résumé des modifications
 
(11 versions intermédiaires par 3 utilisateurs non affichées)
Ligne 4 : Ligne 4 :
         {{#switch: {{{type}}}
         {{#switch: {{{type}}}
         | #default ={{Spell Card Info/entry|{{#switch: {{{type}}}| #default =Spell Card| ftg-system =System Card| ftg-skill | ftg-skill135 =Skill Card| ftg-item135 =Item Card}} {{{number}}}|
         | #default ={{Spell Card Info/entry|{{#switch: {{{type}}}| #default =Spell Card| ftg-system =System Card| ftg-skill | ftg-skill135 =Skill Card| ftg-item135 =Item Card}} {{{number}}}|
{{#if: {{{romaji|}}} |{{ruby|{{lang|{{{nativelang|ja}}}|{{{name}}}}}|''{{{romaji}}}''}}|{{lang|{{{nativelang|ja}}}|{{{name}}}}}}}<br />{{{transname}}}}}
{{#if: {{{romaji|}}} |{{ruby|{{lang|{{{nativelang|ja}}}|{{{name}}}}}|''{{{romaji}}}''}}|{{lang|{{{nativelang|ja}}}|{{{name}}}}}}}<br />{{H:title|{{{transname}}}|{{{nameFr}}}}}}}
        | 143      ={{Spell Card Info/entry|Spell Card {{{number}}}|{{lang|ja|{{{sttitle}}}}}<br />{{{sttitletrans}}}}}
        {{Spell Card Info/entry|Spell Card Name|{{#if: {{{romaji|}}} |{{ruby|{{lang|{{{nativelang|ja}}}|{{{name}}}}}|''{{{romaji}}}''}}|{{lang|{{{nativelang|ja}}}|{{{name}}}}}}}<br />{{{transname}}}}}
         }}
         }}
         {{#switch: {{{type}}}
         {{#switch: {{{type}}}
         | #default ={{Spell Card Info/entry|Owner|{{{owner}}}{{#if: {{{owner2|}}}|{{#if: {{{owner3|}}}|,|&nbsp;and}} {{{owner2}}}}}{{#if: {{{owner3|}}}|&nbsp;and {{{owner3}}}}}<br />{{{stage}}} {{#if: {{{difficulty|}}} |&mdash; {{{difficulty}}}}}}}
         | #default ={{Spell Card Info/entry|Propriétaire|{{{owner}}}{{#if: {{{owner2|}}}|{{#if: {{{owner3|}}}|,|&nbsp;and}} {{{owner2}}}}}{{#if: {{{owner3|}}}|&nbsp;and {{{owner3}}}}}<br />{{{stage}}} {{#if: {{{difficulty|}}} |&mdash; {{{difficulty}}}}}}}
         | ftg-skill | ftg-spell | ftg-system ={{Spell Card Info/entry|Cost|{{{cost}}}}}
         | ftg-skill | ftg-spell | ftg-system ={{Spell Card Info/entry|Coût|{{{cost}}}}}
         | ftg-item135 | ftg-spell135 | ftg-skill135 ={{Spell Card Info/entry|Cost|{{{cost}}}}}
         | ftg-item135 | ftg-spell135 | ftg-skill135 ={{Spell Card Info/entry|Coût|{{{cost}}}}}
         {{Spell Card Info/entry|Faith|Shinto ({{lang|ja|神}}): {{{faith-shinto}}}, Taoism ({{lang|ja|道}}): {{{faith-taoism}}}, Buddhism ({{lang|ja|仏}}): {{{faith-buddhism}}}}}
         {{Spell Card Info/entry|Religion|Shinto ({{lang|ja|神}}): {{{faith-shinto}}}, Taoïsme ({{lang|ja|道}}): {{{faith-taoism}}}, Bouddhisme ({{lang|ja|仏}}): {{{faith-buddhism}}}}}
         | 075 ={{Spell Card Info/entry|Position|{{{position}}}}}
         | 075 ={{Spell Card Info/entry|Position|{{{position}}}}}
         {{Spell Card Info/entry|Rank|{{{rank}}}}}
         {{Spell Card Info/entry|Rang|{{{rank}}}}}
         {{Spell Card Info/entry|Usage|{{{usage}}}}}
         {{Spell Card Info/entry|Usage|{{{usage}}}}}
         }}
         }}
         {{#switch: {{{type}}}
         {{#switch: {{{type}}}
         | #default ={{#if: {{{comment|}}} |{{Spell Card Info/entry|Editor's Comment|{{{comment}}}}}}}
         | #default ={{#if: {{{desc|}}} |{{Spell Card Info/entry|Description de la Spell|{{{desc}}}}}}}
         | 125      ={{Spell Card Info/entry|Aya's Comment|{{lang|ja|{{{ayacomment}}}}}}}
        {{#if: {{{comment|}}} |{{Spell Card Info/entry|Commentaire style ZUN|{{{comment}}}}}}}
         {{Spell Card Info/entry|Aya's Comment Translation|{{lang|ja|{{{ayacommenttrans}}}}}}}
         | 125      ={{Spell Card Info/entry|Commentaire d'Aya|{{lang|ja|{{{ayacomment}}}}}}}
         {{Spell Card Info/entry|Hatate's Comment|{{lang|ja|{{{hatatecomment}}}}}}}
         {{Spell Card Info/entry|Traduction du Commentaire d'Aya|{{lang|ja|{{{ayacommenttrans}}}}}}}
         {{Spell Card Info/entry|Hatate's Comment Translation|{{lang|ja|{{{hatatecommenttrans}}}}}}}
         {{Spell Card Info/entry|Commentaire de Hatate|{{lang|ja|{{{hatatecomment}}}}}}}
         | 165      ={{Spell Card Info/entry|Sumireko's Comment|{{lang|ja|{{{sumirekocomment}}}}}}}
         {{Spell Card Info/entry|Traduction du Commentaire de Hatate|{{lang|ja|{{{hatatecommenttrans}}}}}}}
         {{Spell Card Info/entry|Sumireko's Comment Translation|{{lang|ja|{{{sumirekocommenttrans}}}}}}}
         | 165      ={{Spell Card Info/entry|Commentaire de Sumireko|{{lang|ja|{{{sumirekocomment}}}}}}}
         | native-en | ftg-system | ftg-spell | ftg-skill | ftg-item135 | ftg-spell135 ={{Spell Card Info/entry|Comment|{{lang|{{{nativelang|ja}}}|{{{comment}}}}}}}
         {{Spell Card Info/entry|Traduction du Commentaire de Sumireko|{{lang|ja|{{{sumirekocommenttrans}}}}}}}
         {{Spell Card Info/entry|Translation|{{{commenttrans}}}}}
         | native-en | ftg-system | ftg-spell | ftg-skill | ftg-item135 | ftg-spell135 ={{Spell Card Info/entry|Commentaire|{{lang|{{{nativelang|ja}}}|{{{comment}}}}}}}
         {{Spell Card Info/entry|Traduction|{{{commenttrans}}}}}
         {{#switch: {{{type}}}
         {{#switch: {{{type}}}
         | ftg-skill ={{Spell Card Info/entry|Move Command|{{{keycommand}}}}}
         | ftg-skill ={{Spell Card Info/entry|Move Command|{{{keycommand}}}}}

Version actuelle datée du 10 septembre 2022 à 22:23

Usage

Spell Card Info peut être utilisé différemment avec le paramètre type pour contrôler les sous-paramètres qui devraient être utililsés.

Spell Card Info Générique

Si type est laissé vide, voici l'utilisation par défaut du modèle :

{{Spell Card Info
| image           =Fichier image avec un screenshot de la Spell dans sa difficulté la plus élevée. [[File:Lien de l'image]]
| number          =Numéro de la Spell dans Touhou XX
| name            =Nom original (généralement en japonais) de la Spell
| romaji          =Nom original de la Spell, en romaji (caractères occidentaux)
| transname       =Nom de la Spell traduit en anglais. La plupart des Spells ont un consensus établi sur le Wiki anglais.
| nameFr          =Nom de la Spell traduit en français. Il s'affichera en passant la souris sur le nom anglais. Attention, les " doivent être remplacés par &quot suivi d'un ;
| owner           =Personnage qui joue la Spell. À mettre sous la forme {{Spell Card Info/owner|<Personnage>}}
| owner2          =(optionnel) Second propriétaire de la Spell
| owner3          =(optionnel) Troisième propriétaire de la Spell
| stage           =Numéro du stage auquel la Spell apparaît
| difficulty      =Difficulté la plus élevée qui contient cette Spell. Les Spells qui ne changent pas de nom à travers les difficultés sont considérées comme les mêmes.
| desc            =Courte description des patterns de la Spell
| comment         =(optionnel) Commentaire sur la Spell dans le style d'écriture de ZUN. Peu descriptif est assez imagé. Très court.
}}

Jeux Spin-off

Certains jeux spin-off, comme Double Spoiler ou Impossible Spell Card, utilisent une valeur de type en fonction du numéro du jeu : Par exemple 125 ou 143.

Double Spoiler

{{Spell Card Info
| type               =125
| image              =[[File:Lien de l'image]]
| number             =Numéro de la Spell
| name               =Nom original
| romaji             =Nom en Romaji
| transname          =Nom en anglais
| nameFr             =Nom en français. Attention, les " doivent être remplacés par &quot suivi d'un ;
| owner              =Propriétaire de la Spell
| stage              =Stage d'apparition de la Spell
| desc               =Courte description du pattern
| ayacomment         =Commentaire d'Aya en japonais
| ayacommenttrans    =Commentaire d'Aya en français
| hatatecomment      =Commentaire d'Hatate en japonais
| hatatecommenttrans =Commentaire d'Hatate en français
}}

Impossible Spell Card

{{Spell Card Info
| type         =143
| image        =[[File:Lien de l'image]]
| sttitle      =Titre du stage en japonais
| sttitletrans =Titre du stage en français
| number       =Numéro de la Spell
| name         =Nom en japonais
| romaji       =Nom en romaji
| transname    =Nom en anglais
| nameFr       =Nom en français. Attention, les " doivent être remplacés par &quot suivi d'un ;
| owner        =Propriétaire de la Spell
| stage        =Stage d'apparition de la Spell
| difficulty   =Difficulté d'apparition de la Spell
| desc         =Courte description du pattern
| comment      =(optionnel) Commentaire sur la Spell dans le style d'écriture de ZUN. Peu descriptif est assez imagé. Très court.
}}

Jeux de combat Tasogare

Le Spell Card Info des jeux de combat est presque identique au Spell Card Info générique, avec quelques paramètres supplémentaires.

Générique Jeux de combat

{{Spell Card Info
| type         =ftg-spell
| number       =Numéro de la Spell
| image        =[[File:Image de la Spell de préférence en .png]]<br /><br />[[File:Image de la Spell de préférence en .png|200px]]
| nativelang   =(optionnel) Nom original de la Spell en code ISO 639-1, càd. zh-tw, en, ja. La valeur par défaut est ja.
| name         =Nom original
| romaji       =Nom en romaji
| transname    =Nom en anglais
| nameFr       =Nom en français. Attention, les " doivent être remplacés par &quot suivi d'un ;
| cost         =Coût d'utilisation
| comment      =Commentaire en japonais
| commenttrans =Commentaire en français
| usage        =Commande pour utiliser la Spell en jeu
}}

Skill Card Info

Cette fonction est identique à celle des jeux de combat générique, mais la valeur de type est ftg-skill.

Hopeless Masquerade Spell Card Info

Pour Hopeless Masquerade, les codes ftg-item135, ftg-skill135, ou ftg-spell135 sont utilisés :

{{Spell Card Info
| type         =ftg-item135/ftg-skill135/ftg-spell135
| number       =Numéro de la Spell/Skill/Objet
| image        =[[File:Image de préférence en .png]]<br /><br />[[File:Image de préférence en .png|200px]]
| name         =Nom original
| romaji       =Nom en romaji
| transname    =Nom en anglais
| nameFr       =Nom en français. Attention, les " doivent être remplacés par &quot suivi d'un ;
| cost         =Coût d'utilisation de la Spell/Skill/Objet en jeu
| faith-shinto =Valeur Shinto de la Spell/Skill/Objet (la version démo n'utilise que ±0 et +1)
| faith-tao    =Valeur Taoïsme de la Spell/Skill/Objet (la version démo n'utilise que ±0 et +1) 
| faith-buddha =Valeur Bouddhisme de la Spell/Skill/Objet (la version démo n'utilise que ±0 et +1)
| comment      =Commentaire en japonais
| commenttrans =Commentaire en français
}}