Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Quotes (Table): Difference between revisions

Template page
m (update usage to be more useful)
(updated usage to use Template:Quotes)
 
Line 9: Line 9:
[[Category:Quotes Templates]]
[[Category:Quotes Templates]]
This template is used along with:
This template is used along with:
* [[Template:Quotes (Table Row)]] - for a pre-defined format for quotes
* [[Template:Quotes]] - format a single set of quotes
* [[Template:Quotes (Table MRow)]] - for a custom format of quotes
* [[Template:Quotes (Table Header)]] - insert a header within the table for a subsection
* [[Template:Quotes (Table Header)]] - for inserting a header for a section


==Usage==
==Usage==
<tabs>
 
<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
    | rowspan = 2 (because there are 2 lines - one JA and one EN)
    | situation = Situation Name
    | text = EN line
    | audio = BBCF Character Name Voice Line English.ogg
    | lang = en
  }}
  {{Quotes
    | rowspan = 0 (because this is a subset of the above)
     | situation = Situation Name
     | situation = Situation Name
     | en = EN line
     | text = JP セリフ
    | jp = JP セリフ
     | audio = BBCF Character Name Voice Line Japanese.ogg
     | en_voice = [[File:BBCF Character Name Voice Line English.ogg]]
     | lang = ja
     | jp_voice = [[File:BBCF Character Name Voice Line Japanese.ogg]]
   }}
   }}
}}
}}
Line 31: Line 36:
{{Quotes (Table)|
{{Quotes (Table)|
   {{Quotes (Table Header)|Header}}
   {{Quotes (Table Header)|Header}}
   {{Quotes (Table Row)
   {{Quotes
     | situation = Situation
    | rowspan = 2
     | en = EN line
     | situation = Situation Name
     | jp = JP セリフ
     | text = EN line
     | en_voice = EN voice file
     | audio = BBCF Character Name Voice Line English.ogg
    | jp_voice = JP voice file
     | lang = en
   }}
   }}
}}
   {{Quotes
</tab>
     | rowspan = 0
<tab name="Voice Lines With Many Variations">
     | situation = Situation Name
<pre><nowiki>
     | text = JP セリフ
{{Quotes (Table)|
     | audio = BBCF Character Name Voice Line Japanese.ogg
  {{Quotes (Table Header)|Header}}
     | lang = ja
   {{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]] }}
  }}
}}
</nowiki></pre>
 
{{Quotes (Table)|
  {{Quotes (Table Header)|Header}}
  {{Quotes (Table MRow)
    | situation = situation
    | num = 2
    | rows =
    {{Quotes (Table MRow)/Row | EN Voice line | EN voice file }}
    {{Quotes (Table MRow)/Row | JP Voice line | JP voice file }}
   }}
   }}
}}
}}
</tab>
</tabs>
</noinclude>
</noinclude>

Latest revision as of 02:48, 3 September 2022

This template is used along with:

Usage

{{Quotes (Table)|
  {{Quotes (Table Header)|Header}}
  {{Quotes
    | rowspan = 2 (because there are 2 lines - one JA and one EN)
    | situation = Situation Name
    | text = EN line
    | audio = BBCF Character Name Voice Line English.ogg
    | lang = en
  }}
  {{Quotes
    | rowspan = 0 (because this is a subset of the above)
    | situation = Situation Name
    | text = JP セリフ
    | audio = BBCF Character Name Voice Line Japanese.ogg
    | lang = ja
  }}
}}
Situation Line Voice
Header
Situation Name EN line Play
Situation Name JP セリフ Play