Difference between revisions of "Template:Infobox character"

From Yugipedia
Jump to: navigation, search
(categorise unseen)
(fixing the sizing of these collapsible sections)
Line 81: Line 81:
 
     | data7  = {{ #if: {{And|{{{hide_nicknames|}}}|{{{nicknames|}}}|}}
 
     | data7  = {{ #if: {{And|{{{hide_nicknames|}}}|{{{nicknames|}}}|}}
 
       | {{Infobox
 
       | {{Infobox
 +
        | child      = yes
 
         | bodyclass  = collapsible collapsed
 
         | bodyclass  = collapsible collapsed
         | bodystyle  = width: 100%; border: 0; margin: 0; padding: 0;
+
         | bodystyle  = border: 0; font-size: 1em; margin: 0 -4px; padding: 0; width: calc(100% + 8px);
         | headerstyle = background-color: #DDF; font-size: 8.5pt; text-align: left;
+
         | headerstyle = background-color: #DDF; text-align: left;
         | labelstyle  = background-color: #EEF; width: 9.7em; font-size: 8pt;
+
         | labelstyle  = background-color: #EEF; width: 10em;
 
         | datastyle  = text-align: left;
 
         | datastyle  = text-align: left;
  
Line 96: Line 97:
 
     | data8  = {{ #if: {{{ja_name|}}}{{{romaji_name|}}}
 
     | data8  = {{ #if: {{{ja_name|}}}{{{romaji_name|}}}
 
       | {{Infobox
 
       | {{Infobox
 +
        | child      = true
 
         | bodyclass  = collapsible collapsed
 
         | bodyclass  = collapsible collapsed
         | bodystyle  = width: 100%; border: 0; margin: 0; padding: 0;
+
         | bodystyle  = border: 0; font-size: 1em; margin: 0 -4px; padding: 0; width: calc(100% + 8px);
         | headerstyle = background-color: #DDF; font-size: 8.5pt; text-align: left;
+
         | headerstyle = background-color: #DDF; text-align: left;
         | labelstyle  = background-color: #EEF; width: 9.7em; font-size: 8pt;
+
         | labelstyle  = background-color: #EEF; width: 10em;
  
 
         | header1    = Japanese {{ #if: {{{headers|}}} || name }}
 
         | header1    = Japanese {{ #if: {{{headers|}}} || name }}
Line 133: Line 135:
 
     | data9  = {{ #if: {{{ko_name|}}}{{{hanja_name|}}}{{{ko_rr_name|}}}{{{ko_trans_name|}}}
 
     | data9  = {{ #if: {{{ko_name|}}}{{{hanja_name|}}}{{{ko_rr_name|}}}{{{ko_trans_name|}}}
 
       | {{Infobox
 
       | {{Infobox
 +
        | child      = yes
 
         | bodyclass  = collapsible collapsed
 
         | bodyclass  = collapsible collapsed
         | bodystyle  = width: 100%; border: 0; margin: 0; padding: 0;
+
         | bodystyle  = border: 0; font-size: 1em; margin: 0 -4px; padding: 0; width: calc(100% + 8px);
         | headerstyle = background-color: #DDF; font-size: 8.5pt; text-align: left;
+
         | headerstyle = background-color: #DDF; text-align: left;
         | labelstyle  = background-color: #EEF; width: 9.7em; font-size: 8pt;
+
         | labelstyle  = background-color: #EEF; width: 10em;
  
 
         | header1    = Korean {{ #if: {{{headers|}}} || name }}
 
         | header1    = Korean {{ #if: {{{headers|}}} || name }}
Line 159: Line 162:
 
     | data10  = {{ #if: {{{ar_name|}}}{{{fil_name|}}}{{{fr_name|}}}{{{de_name|}}}{{{el_name|}}}{{{it_name|}}}{{{pt_name|}}}{{{es_name|}}}{{{th_name|}}}
 
     | data10  = {{ #if: {{{ar_name|}}}{{{fil_name|}}}{{{fr_name|}}}{{{de_name|}}}{{{el_name|}}}{{{it_name|}}}{{{pt_name|}}}{{{es_name|}}}{{{th_name|}}}
 
       | {{Infobox
 
       | {{Infobox
 +
        | child      = yes
 
         | bodyclass  = collapsible collapsed
 
         | bodyclass  = collapsible collapsed
         | bodystyle  = width: 100%; border: 0; margin: 0; padding: 0;
+
         | bodystyle  = border: 0; font-size: 1em; margin: 0 -4px; padding: 0; width: calc(100% + 8px);
         | headerstyle = background-color: #DDF; font-size: 8.5pt; text-align: left;
+
         | headerstyle = background-color: #DDF; text-align: left;
         | labelstyle  = background-color: #EEF; width: 9.7em; font-size: 8pt;
+
         | labelstyle  = background-color: #EEF; width: 10em;
  
 
         | header1    = Other languag{{ #if: {{{headers|}}} | es | e names }}
 
         | header1    = Other languag{{ #if: {{{headers|}}} | es | e names }}
Line 273: Line 277:
 
     | data11  = {{ #if: {{{relatives|}}}
 
     | data11  = {{ #if: {{{relatives|}}}
 
       | {{Infobox
 
       | {{Infobox
 +
        | child      = yes
 
         | bodyclass  = collapsible {{ #if: {{{show_relatives|}}} || collapsed }}
 
         | bodyclass  = collapsible {{ #if: {{{show_relatives|}}} || collapsed }}
         | bodystyle  = width: 100%; border: 0; margin: 0; padding: 0;
+
         | bodystyle  = border: 0; font-size: 1em; margin: 0 -4px; padding: 0; width: calc(100% + 8px);
         | headerstyle = background-color: #DDF; font-size: 8.5pt; text-align: left;
+
         | headerstyle = background-color: #DDF; text-align: left;
         | labelstyle  = background-color: #EEF; width: 9.7em; font-size: 8pt;
+
         | labelstyle  = background-color: #EEF; width: 10em;
 
         | datastyle  = text-align: left;
 
         | datastyle  = text-align: left;
  
Line 486: Line 491:
  
 
       | {{Infobox
 
       | {{Infobox
 +
        | child      = yes
 
         | bodyclass  = collapsible {{ #if: {{{deck|}}}{{{anime_deck|}}}{{{manga_deck|}}}{{{hide_video_game_decks|}}} | collapsed }}
 
         | bodyclass  = collapsible {{ #if: {{{deck|}}}{{{anime_deck|}}}{{{manga_deck|}}}{{{hide_video_game_decks|}}} | collapsed }}
         | bodystyle  = width: 100%; border: 0; margin: 0; padding: 0;
+
         | bodystyle  = border: 0; font-size: 1em; margin: 0 -4px; padding: 0; width: calc(100% + 8px);
         | headerstyle = background-color: #DDF; font-size: 8.5pt; text-align: left;
+
         | headerstyle = background-color: #DDF; text-align: left;
         | labelstyle  = background-color: #EEF; width: 9.7em; font-size: 8pt;
+
         | labelstyle  = background-color: #EEF; width: 10em;
  
 
         | header1    = {{ #if: {{{deck|}}}{{{anime_deck|}}}{{{manga_deck|}}} | Other }} Decks
 
         | header1    = {{ #if: {{{deck|}}}{{{anime_deck|}}}{{{manga_deck|}}} | Other }} Decks
Line 613: Line 619:
 
                     -->{{{appears_in_dt|}}}  {{{appears_in_mobile|}}}{{{appears_in_other|}}}
 
                     -->{{{appears_in_dt|}}}  {{{appears_in_mobile|}}}{{{appears_in_other|}}}
 
       | {{Infobox
 
       | {{Infobox
 +
        | child      = true
 
         | bodyclass  = collapsible {{ #if: {{{hide_appearances|}}} | collapsed }}
 
         | bodyclass  = collapsible {{ #if: {{{hide_appearances|}}} | collapsed }}
         | bodystyle  = width: 100%; border: 0; margin: 0; padding: 0;
+
         | bodystyle  = border: 0; font-size: 1em; margin: 0 -4px; padding: 0; width: calc(100% + 8px);
         | headerstyle = background-color: #DDF; font-size: 8.5pt; text-align: left;
+
         | headerstyle = background-color: #DDF; text-align: left;
         | labelstyle  = background-color: #EEF; width: 9.7em; font-size: 8pt;
+
         | labelstyle  = background-color: #EEF; width: 10em;
  
 
         | header1    = Appears in
 
         | header1    = Appears in
Line 698: Line 705:
 
     | data4  = {{ #if: {{{ar_voice|}}}{{{fr_voice|}}}{{{de_voice|}}}{{{el_voice|}}}{{{it_voice|}}}{{{ko_voice|}}}{{{pt_voice|}}}{{{es_voice|}}}{{{tl_voice|}}}
 
     | data4  = {{ #if: {{{ar_voice|}}}{{{fr_voice|}}}{{{de_voice|}}}{{{el_voice|}}}{{{it_voice|}}}{{{ko_voice|}}}{{{pt_voice|}}}{{{es_voice|}}}{{{tl_voice|}}}
 
       | {{Infobox
 
       | {{Infobox
 +
        | child      = yes
 
         | bodyclass  = collapsible collapsed
 
         | bodyclass  = collapsible collapsed
         | bodystyle  = width: 100%; border: 0; margin: 0; padding: 0;
+
         | bodystyle  = border: 0; font-size: 1em; margin: 0 -4px; padding: 0; width: calc(100% + 8px);
         | headerstyle = background-color: #DDF; font-size: 8.5pt; text-align: left;
+
         | headerstyle = background-color: #DDF; text-align: left;
         | labelstyle  = background-color: #EEF; width: 9.7em; font-size: 8pt;
+
         | labelstyle  = background-color: #EEF; width: 10em;
  
 
         | header1    = Other languag{{ #if: {{{headers|}}} | es | e voices }}
 
         | header1    = Other languag{{ #if: {{{headers|}}} | es | e voices }}

Revision as of 22:31, 10 November 2018

Infobox character