Template:Quotes (Table): Difference between revisions

Template page
m (fix voice column to 125px)
m (update usage to be more useful)
Line 14: Line 14:


==Usage==
==Usage==
This template is used on characters' Quotes pages (e.g. [[Jubei/Quotes/BBCF]]).
<tabs>
<tabs>
<tab name="Default Quote Format">
<tab name="Voice Lines with One Variation">
<pre><nowiki>
<pre><nowiki>
{{Quotes (Table)|
{{Quotes (Table)|
   {{Quotes (Table Header)|Header}}
   {{Quotes (Table Header)|Header}}
   {{Quotes (Table Row)
   {{Quotes (Table Row)
     | situation =  
     | situation = Situation Name
     | en =
     | en = EN line
     | jp =
     | jp = JP セリフ
     | en_voice =
     | en_voice = [[File:BBCF Character Name Voice Line English.ogg]]
     | jp_voice =
     | jp_voice = [[File:BBCF Character Name Voice Line Japanese.ogg]]
   }}
   }}
}}
}}
Line 34: Line 33:
   {{Quotes (Table Row)
   {{Quotes (Table Row)
     | situation = Situation
     | situation = Situation
     | en = EN
     | en = EN line
     | jp = JP
     | jp = JP セリフ
     | en_voice = EN voice file
     | en_voice = EN voice file
     | jp_voice = JP voice file
     | jp_voice = JP voice file
Line 41: Line 40:
}}
}}
</tab>
</tab>
<tab name="Custom Quote Format">
<tab name="Voice Lines With Many Variations">
<pre><nowiki>
<pre><nowiki>
{{Quotes (Table)|
{{Quotes (Table)|
Line 47: Line 46:
   {{Quotes (Table MRow)
   {{Quotes (Table MRow)
     | situation = situation
     | situation = situation
     | num = 1
     | num = 2 (number of variations)
     | rows =
     | rows = (must have one row per variation or the table's rows and columns will be misaligned)
     {{Quotes (Table MRow)/Row | A | b }}
    {{Quotes (Table MRow)/Row | Voice line | [[File:Voice file.ogg]] }}
     {{Quotes (Table MRow)/Row | Voice line | [[File:Voice file.ogg]] }}
   }}
   }}
}}
}}
Line 58: Line 58:
   {{Quotes (Table MRow)
   {{Quotes (Table MRow)
     | situation = situation
     | situation = situation
     | num = 1
     | num = 2
     | rows =
     | rows =
     {{Quotes (Table MRow)/Row | A | b }}
     {{Quotes (Table MRow)/Row | EN Voice line | EN voice file }}
    {{Quotes (Table MRow)/Row | JP Voice line | JP voice file }}
   }}
   }}
}}
}}

Revision as of 00:50, 20 August 2019

This template is used along with:

Usage

<tabs> <tab name="Voice Lines with One Variation">

{{Quotes (Table)|
  {{Quotes (Table Header)|Header}}
  {{Quotes (Table Row)
    | situation = Situation Name
    | en = EN line
    | jp = JP セリフ
    | en_voice = [[File:BBCF Character Name Voice Line English.ogg]]
    | jp_voice = [[File:BBCF Character Name Voice Line Japanese.ogg]]
  }}
}}
 Template:Quotes (Table Row)
Situation Line Voice
Header

</tab> <tab name="Voice Lines With Many Variations">

{{Quotes (Table)|
  {{Quotes (Table Header)|Header}}
  {{Quotes (Table MRow)
    | situation = situation
    | num = 2 (number of variations)
    | rows = (must have one row per variation or the table's rows and columns will be misaligned)
    {{Quotes (Table MRow)/Row | Voice line | [[File:Voice file.ogg]] }}
    {{Quotes (Table MRow)/Row | Voice line | [[File:Voice file.ogg]] }}
  }}
}}
 Template:Quotes (Table MRow)
Situation Line Voice
Header

</tab> </tabs>