Template:Infobox Technique: Difference between revisions
SirRandomage (talk | contribs) No edit summary |
SirRandomage (talk | contribs) No edit summary |
||
Line 7: | Line 7: | ||
|Row 3 title = Kanji | |Row 3 title = Kanji | ||
|Row 3 info = {{{Kanji}}} | |Row 3 info = {{{Kanji}}} | ||
{{#if: {{{Pronunciation|}}}| <tr> | |||
{{!}} Row 4 title = Pronunciation | |||
| | {{!}} Row 4 info = {{{Pronunciation}}} | ||
| | |||
}} | |||
}} | |||
<tr> | |||
<th>English</th> | |||
| | <td>{{{English}}}</td> | ||
</tr> | |||
{{#if: {{{Image|}}}{{{School|}}}| <tr> | |||
<th colspan="2" class="color1" style="text-align:center;">Data</th> | |||
</tr> | |||
<tr> | |||
<th>School</th> | |||
<td>{{{School}}}</td> | |||
</tr> }} | |||
</includeonly></onlyinclude>{{documentation}} | |||
}}</includeonly></onlyinclude>{{documentation}} |
Revision as of 13:13, 29 January 2012
Template documentation (for the above template, sometimes hidden or invisible)
- Description
- Template for Tecniques / Waza / Ōgi
- Dependencies
-
- Uses {{Infobox}} to centralize the style.
- Syntax
- Insert the following at the beginning of the page
{{Infobox Technique
|Name=
|Image =
|Caption =
|Furigana =
|Kanji =
|Romaji =
|Pronunciation =
|English =
|School =
}}
- Notes
- Image, Caption and Pronunciation are optional
- Caption is only visible if Image is provided
- Some of the parameters expect a peculiar value
- Image, use full syntax, like [[Image:ImagePath.jpg|220px|Alternate Text]]
- Furigana, a sequence of {{Ruby}} templates, one for every kanji like this {{ruby|北|ほく|ho ku}}
- Pronunciation, is meant to contain the IPA spelling of the word, possibly linked to an ogg file with a person spelling it out. Try to use this format: {{IPA-ja|<IPA pronounciation>|<Filename of the .ogg containing the sound>}}
- School, make sure every school is linked.
- Example
{{Infobox Technique
|Name = Ganzan Ryōzan Ha
|Furigana =
{{Ruby|岩|がん|Ga n}}
{{Ruby|山|ざん|za n}}
{{Ruby|両|りょう|Ryo u}}
{{Ruby|斬|ざん|za n}}
{{Ruby|波|は|Ha}}
|Kanji = 岩山両斬波
|Romaji = Ganzan Ryōzan Ha
|English = Rocky Mountain Splitting Wave
|Pronunciation = {{IPA-ja|ɡaŋzaɴ ɽʲoːzaɴ ha|Ganzanryozanha.ogg}}
|School = [[Hokuto Shin Ken]]
|Image = [[File:Ganzan Ryouzan Ha.jpg|220px|[[Kenshiro]] hitting a [[Spade thug]]]]
}}
Becomes
| Row 4 title = Pronunciation | Row 4 info = [ɡaŋzaɴ ɽʲoːzaɴ ha](help·info)Ganzan Ryōzan Ha | |
---|---|
岩 山 両 斬 波 | |
Kanji |
岩山両斬波 |
Visit Template:Infobox Technique/doc to edit this text! (How does this work?)
Done editing it? Refresh this page! (Why?)
Done editing it? Refresh this page! (Why?)