Template:Gallery Section (BBRadio): Difference between revisions

Template page
(Created page with "<includeonly><!-- -->{{#cargo_query: tables=Files, BBRadio_Cuts |fields=Files._pageName, Files.Caption |join on=Files._pageName=BBRadio_Cuts._pageName |where=Files.Characters...")
 
m (mirror parameters from Template:Gallery Section)
Line 10: Line 10:
|more results text=more results
|more results text=more results
|format=gallery
|format=gallery
|intro={{#switch:{{{4}}}
  |h2=<h2>{{#if:{{{5|}}}|{{{5}}}|BlazBlue Radio {{{2}}}}}</h2>
  |h3=<h3>{{#if:{{{5|}}}|{{{5}}}|BlazBlue Radio {{{2}}}}}</h3>
  |h4=<h4>{{#if:{{{5|}}}|{{{5}}}|BlazBlue Radio {{{2}}}}}</h4>
  |h5=<h5>{{#if:{{{5|}}}|{{{5}}}|BlazBlue Radio {{{2}}}}}</h5>
}}
|show bytes=0
|show bytes=0
|show dimensions=0
|show dimensions=0
|show filename=0
|show filename=0
|caption field=caption
|caption field=Caption
|image width={{{widths|250}}}
|image width={{{widths|250}}}
}}<!--
}}<!--
Line 21: Line 27:
==Usage==
==Usage==
<pre><nowiki>
<pre><nowiki>
{{Gallery Section (BBRadio)|character|season|episode
{{Gallery Section (BBRadio)
|widths=
  | character       <-- {{{1}}} the character's name
|limit=
  | season         <-- {{{2}}} the BlazBlue Radio season's initial
  | episode         <-- {{{3}}} the episode identifier (optional)
  | h2              <-- {{{4}}} Header depth (h2, h3, h4, h5)
  | Main Artwork    <-- {{{5}}} Section header (optional, will default to {{{2}}} )
 
  |widths=
  |limit=
}}
}}


{{Gallery Section (BBRadio)|Valkenhayn R. Hellsing|2}}
i.e. {{Gallery Section (BBRadio) | Valkenhayn R. Hellsing | 2 }}
{{Gallery Section (BBRadio)|Tsubaki Yayoi|2|1}}
i.e. {{Gallery Section (BBRadio) | Hazama | 2 | 1 | h3 | Alternate Heading }}
{{Gallery Section (BBRadio)|Hazama|1|1|widths=250|limit=30}}
i.e. {{Gallery Section (BBRadio) | Hazama | 1 | 1 | | | widths=250 | limit=30 }}
</nowiki></pre>
</nowiki></pre>



Revision as of 01:32, 11 May 2019

Purpose

Create a section of the Template:Master Gallery that includes all images for a season and/or episode of BlazBlue Radio that feature a given character.

Usage

{{Gallery Section (BBRadio)
  | character       <-- {{{1}}} the character's name
  | season          <-- {{{2}}} the BlazBlue Radio season's initial
  | episode         <-- {{{3}}} the episode identifier (optional)
  | h2              <-- {{{4}}} Header depth (h2, h3, h4, h5)
  | Main Artwork    <-- {{{5}}} Section header (optional, will default to {{{2}}} )

  |widths=
  |limit=
}}

i.e. {{Gallery Section (BBRadio) | Valkenhayn R. Hellsing | 2 }}
i.e. {{Gallery Section (BBRadio) | Hazama | 2 | 1 | h3 | Alternate Heading }}
i.e. {{Gallery Section (BBRadio) | Hazama | 1 | 1 | | | widths=250 | limit=30 }}

character Use the character's name used in Category:Media by Character

season Follow the code used in the BBRadio_Cuts table as defined on the BBRadio template page

Transcluded from Template:BBRadio

For season, please put one of the codes from the Codes column for the corresponding season. The BBRadio_Cuts Code column indicates what the season will be represented by in the BBRadio_Cuts table.

Season Codes BBRadio_Cuts Code
ぶるらじ
BlazBlue Radio
1 (or blank) 1
続ぶるらじ
BlazBlue Radio Continued
2
Zoku
Continued
2
ぶるらじW
BlazBlue Radio Wide
3
W
W
ぶるらじH
BlazBlue Radio Hyper
4
H
H
ぶるらじA
BlazBlue Radio Ace
5
A
A
ぶるらじQ
BlazBlue Radio Quick
6
Q
Q
ぶるらじD
BlazBlue Radio Dynamic
7
D
D
ぶるらじNEO
BlazBlue Radio NEO
8
NEO
NEO
Season Codes BBRadio_Cuts Code
ぶるらじR
BlazBlue Radio Repeat
R R
ぶるらじR2
BlazBlue Radio Repeat Two
R2 R2
ぶるらじ風
BlazBlue Radio Kaze
K
Kaze
K

episode Optional. If omitted, the gallery will include all images for the season that include the specified character.

|widths= Optional. Specifies the width of each image in the gallery. Defaults to 250 (matching the default for Template:Gallery Section)

|limit= Optional. The maximum number of images to display in the gallery before showing a "show more" link. Defaults to 100.

See Also