Template:Infobox Technique/doc: Difference between revisions
SirRandomage (talk | contribs) new |
SirRandomage (talk | contribs) No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
;Description | ;Description: | ||
:Template for Tecniques / Waza / Ōgi | :Template for Tecniques / Waza / Ōgi | ||
;Dependencies: | ;Dependencies: | ||
:* Uses {{t|Infobox}} to centralize the style. | :* Uses {{t|Infobox}} to centralize the style. | ||
;Syntax | ;Syntax: | ||
:Insert the following at the beginning of the page | :Insert the following at the beginning of the page | ||
<code><pre> | <code><pre> | ||
{{Infobox Technique | {{Infobox Technique | ||
|Name= | |Name= | ||
|Image = | |||
|Caption = | |||
|Furigana = | |Furigana = | ||
|Kanji = | |||
|Romaji = | |Romaji = | ||
|Pronunciation = | |||
|English = | |English = | ||
|School = | |School = | ||
}} | }} | ||
</pre></code> | </pre></code> | ||
;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 <nowiki>[[Image:ImagePath.jpg|220px|Alternate Text]]</nowiki> | |||
** '''Furigana''', a sequence of {{t|Ruby}} templates, one for every kanji like this {{t2|ruby|北|ほく|ho ku}} | |||
** '''Pronunciation''', is meant to contain the [[wikipedia:IPA|IPA]] spelling of the word, possibly linked to an ogg file with a person spelling it out. Try to use this format: {{t|IPA-ja|IPA pronounciation|Filename of the .ogg containing the sound}} | |||
** '''School''', make sure every school is linked. | |||
;Example: | |||
<code><pre> | |||
{{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]]]] | |||
}} | |||
</pre></code> | |||
Becomes | |||
{{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]]]] | |||
}} | |||
<includeonly>[[Category:Infobox Templates|{{PAGENAME}}]]<!-- Any categories for the template itself --></includeonly> | |||
<includeonly>[[Category:Templates|{{PAGENAME}}]]<!-- Any categories for the template itself --></includeonly> | |||