Jump to content

Template:Infobox Technique: Difference between revisions

From Hokuto no Ken Encyclopedia | HnKWiki
No edit summary
No edit summary
Line 7: Line 7:
|Row 3 title  = Kanji
|Row 3 title  = Kanji
|Row 3 info  = {{{Kanji}}}
|Row 3 info  = {{{Kanji}}}
|label1    = Developer(s)
{{#if: {{{Pronunciation|}}}| <tr>
|data1    = {{{developer|}}}
{{!}} Row 4 title  = Pronunciation
|label2    = Publisher(s)
{{!}} Row 4 info  = {{{Pronunciation}}}
|data2    = {{{publisher|}}}
|
|label3    = Release date(s)
}}
|data3    = {{{date|}}}
}}
|label4    = Version
<tr>
|data4    = {{{version|}}}
<th>English</th>
|label5    = {{#if:{{{expansions|}}}|Expansions}}
<td>{{{English}}}</td>
|data5    = {{{expansions|}}}
</tr>
|label6    = Platforms
{{#if: {{{Image|}}}{{{School|}}}| <tr>
|data6    = {{{platforms|}}}
<th colspan="2" class="color1" style="text-align:center;">Data</th>
|label7    = Genre(s)
</tr>
|data7    = {{{genre|}}}
<tr>
|abovestyle  = font-size: large;
<th>School</th>
|bodystyle    = width: 23em; padding: 0em;
<td>{{{School}}}</td>
|captionstyle = color: #FFFF00;
</tr> }}
|labelstyle  = padding-right: 0.2em;
</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
Kenshiro hitting a Spade thug

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

()
Kanji

岩山両斬波

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?)