Difference between revisions of "Template:Infobox character"

From Yugipedia
Jump to: navigation, search
(If the character has a corresponding card, don't assign a Main character page unless one is manually assigned.)
({{Infobox Japanese name}})
Line 110: Line 110:
  
 
     | data8  = {{ #if: {{{ja_name|}}}{{{romaji_name|}}}
 
     | data8  = {{ #if: {{{ja_name|}}}{{{romaji_name|}}}
       | {{Infobox
+
       | {{Infobox Japanese name|ja_name={{{ja_name|}}}|romaji_name={{{romaji_name|}}}|short_header={{{headers|}}}}}
        | child      = true
 
        | bodyclass  = collapsible collapsed
 
        | bodystyle  = border: 0; font-size: 1em; margin: 0 -4px; padding: 0; width: calc(100% + 8px);
 
        | headerstyle = background-color: #DDF; text-align: left;
 
        | labelstyle  = background-color: #EEF; width: 10em;
 
 
 
        | header1    = Japanese {{ #if: {{{headers|}}} || name }}
 
 
 
        | label2      = Japanese
 
        | data2      = {{ #if: {{Ruby/detect|{{{ja_name}}}}}
 
          | <div lang="ja-Jpan">{{{ja_name}}}
 
</div>
 
          | <div lang="ja">{{Value list|{{{ja_name}}}|Japanese name}}
 
</div>
 
          }}
 
 
 
        | label3      = Base
 
        | data3      = {{ #if: {{Ruby/detect|{{{ja_name}}}}}
 
          | <div lang="ja-Jpan">{{Value list|{{Ruby/split|{{{ja_name}}}}}|Japanese name}}
 
</div>
 
          }}
 
 
 
        | label4      = Furigana
 
        | data4      = {{ #if: {{Ruby/detect|{{{ja_name}}}}}
 
          | <div lang="ja-Jpan">{{Ruby/split|{{{ja_name}}}|top}}
 
</div>
 
          }}
 
 
 
        | label5      = ''Rōmaji''
 
        | data5      = {{ #if: {{{romaji_name|}}}
 
          | <div lang="ja-Latn-hepburn"><i style="display: block;">{{Value list|{{{romaji_name}}}|Romaji name}}
 
</i></div>
 
          }}
 
        }}
 
 
       }}
 
       }}
  

Revision as of 08:06, 26 December 2019

Infobox character