Jump to content

Template:Infobox Technique: Difference between revisions

From Hokuto no Ken Encyclopedia | HnKWiki
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 3: Line 3:
|image        = {{{Image|}}}
|image        = {{{Image|}}}
|caption      = {{{Caption|}}}
|caption      = {{{Caption|}}}
|Row 1 title  = Name
|Row 2 header = Name
|Row 2 info  = {{{Furigana}}}
|Row 2 info  = {{{Furigana|}}}
|Row 3 title  = Kanji
|Row 3 title  = Kanji
|Row 3 info  = {{{Kanji}}}
|Row 3 info  = {{{Kanji|}}}
|Row 4 title  = {{#if: {{{Pronunciation|}}}|Pronunciation|English}}
|Row 4 title  = Romaji
|Row 4 info  = {{#if: {{{Pronunciation|}}}|{{{Pronunciation}}}|{{{English}}}}}
|Row 4 info  = {{{Romaji|}}}
|
|Row 5 title  = Pronunciation
}}
|Row 5 info  = {{{Pronunciation|}}}
}}
|Row 6 title  = English
<tr>
|Row 6 info  = {{{English|}}}
<th>English</th>
|Row 7 header = Data
<td>{{{English}}}</td>
|Row 7 title  = School
</tr>
|Row 7 info  = {{{School|}}}
{{#if: {{{Image|}}}{{{School|}}}| <tr>
}}</includeonly></onlyinclude>
<th colspan="2" class="color1" style="text-align:center;">Data</th>
{{documentation}}
</tr>
<tr>
<th>School</th>
<td>{{{School}}}</td>
</tr> }}
</includeonly></onlyinclude>{{documentation}}

Latest revision as of 11:42, 13 February 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

Ganzan Ryōzan Ha
Kenshiro hitting a Spade thug
Name

(がん) (ざん) (りょう) (ざん)

()
Kanji 岩山両斬波
Romaji Ganzan Ryōzan Ha
Pronunciation [ɡaŋzaɴ ɽʲoːzaɴ ha](help·info)
English Rocky Mountain Splitting Wave
Data
School Hokuto Shin Ken
Visit Template:Infobox Technique/doc to edit this text! (How does this work?)
Done editing it? Refresh this page! (Why?)