More actions
m (change "see all" link to a button next to the title) |
(load new images inline) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly | <includeonly>{{Gallery_Section_(BBRadio)/1|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|sort={{{sort|}}}}}<!-- | ||
-->{{#if: {{{count_all|}}}|{{#ifexpr: {{{count_all|0}}} > 0| | |||
{{#var:header}} | |||
{{Gallery Section (BBRadio)/Q1|character={{#var:CHARACTER}}|season={{{2|}}}|episode={{{3|}}}|count_all={{{count_all|}}}|limit={{{limit|4}}}|widths={{{widths|250}}}|sort={{#var:sort}}}} | |||
{{Gallery Section (BBRadio)/3|displayed={{{load_limit|4}}}|count_all={{{count_all|0}}}|load_limit=50|character={{#var:CHARACTER}}|season={{{2|}}}|episode={{{3|}}}|sort={{#var:sort}}||widths={{{widths|250}}}}} | |||
}} | |||
}}} | |<!-- if this template was called manually, without a count_all value, show the section despite not knowing how many images are in it | ||
-->{{#var:header}} | |||
}}<!-- | {{Gallery Section (BBRadio)/Q1|character={{#var:CHARACTER}}|season={{{2|}}}|episode={{{3|}}}|count_all=9999|limit={{{limit|4}}}|widths={{{widths|250}}}|sort={{#var:sort}}}} | ||
-->{{# | {{Gallery Section (BBRadio)/3|displayed={{{load_limit|4}}}|count_all=9999|load_limit=50|character={{#var:CHARACTER}}|season={{{2|}}}|episode={{{3|}}}|sort={{#var:sort}}||widths={{{widths|250}}}}} | ||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
}}<!-- | }}<!-- | ||
--></includeonly><noinclude> | --></includeonly><noinclude> | ||
{{Imbox Gallery Notice}} | |||
==Purpose== | ==Purpose== | ||
Creates 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== | ==Usage== | ||
<pre><nowiki> | <pre><nowiki> | ||
Line 33: | Line 20: | ||
| character <-- {{{1}}} the character's name | | character <-- {{{1}}} the character's name | ||
| season <-- {{{2}}} the BlazBlue Radio season's initial | | season <-- {{{2}}} the BlazBlue Radio season's initial | ||
| episode <-- {{{3}}} the episode number (optional) | |||
| h2 <-- {{{4}}} Header depth (h2, h3, h4, h5) | | h2 <-- {{{4}}} Header depth (h2, h3, h4, h5) | ||
| Main Artwork <-- {{{5}}} Section header (optional, will default to {{{2}}} ) | | Main Artwork <-- {{{5}}} Section header (optional, will default to {{{2}}} ) | ||
Line 38: | Line 26: | ||
| widths=250 by default | | widths=250 by default | ||
| limit=4 by default | | limit=4 by default | ||
| count_all= | |||
}} | }} | ||
i.e. {{Gallery Section (BBRadio) | Valkenhayn R. Hellsing | 2 }} | The template cannot have spaces: | ||
i.e. {{Gallery Section (BBRadio) | Hazama | 2 | 1 | h3 | Alternate Heading }} | |||
i.e. {{Gallery Section (BBRadio) | Hazama | | 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|D|1|||widths=250|limit=30}} | |||
</nowiki></pre> | </nowiki></pre> | ||
Line 48: | Line 39: | ||
<code>season</code> Follow the code used in the [[Special:CargoTables/BBRadio_Cuts|BBRadio_Cuts]] table as defined on the [[Template:BBRadio#Season|BBRadio template page]] | <code>season</code> Follow the code used in the [[Special:CargoTables/BBRadio_Cuts|BBRadio_Cuts]] table as defined on the [[Template:BBRadio#Season|BBRadio template page]] | ||
<blockquote class="news-box"> | |||
:''Transcluded from [[Template:BBRadio]]'' | :''Transcluded from [[Template:BBRadio]]'' | ||
{{#lsth:Template:BBRadio|Season}} | |||
</blockquote> | |||
<code>episode</code> Optional. If omitted, the gallery will include all images for the season that include the specified character. (i.e. BlazBlue Radio A) | <code>episode</code> Optional. If omitted, the gallery will include all images for the season that include the specified character. (i.e. BlazBlue Radio A) | ||
Line 59: | Line 52: | ||
<code>|limit=</code> Optional. The maximum number of images to display in the gallery before showing a "further results" link. Defaults to 50. | <code>|limit=</code> Optional. The maximum number of images to display in the gallery before showing a "further results" link. Defaults to 50. | ||
<code>|count_all=</code> Optional. To display a number next to "see all" e.g. "see all 5" | |||
==See Also== | ==See Also== | ||
Line 69: | Line 64: | ||
[[Category:Graphic templates]] | [[Category:Graphic templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 00:04, 13 June 2020
This page is part of an automated Gallery system. For more details, please refer to Help:Manual of Style/Character Pages/Gallery. See all pages included in this system |
Purpose
Creates 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 number (optional) | h2 <-- {{{4}}} Header depth (h2, h3, h4, h5) | Main Artwork <-- {{{5}}} Section header (optional, will default to {{{2}}} ) | widths=250 by default | limit=4 by default | count_all= }} The template cannot have spaces: 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|D|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 Radio1 (or blank) 1 続ぶるらじ
BlazBlue Radio Continued2
Zoku
Continued2 ぶるらじW
BlazBlue Radio Wide3
WW ぶるらじH
BlazBlue Radio Hyper4
HH ぶるらじA
BlazBlue Radio Ace5
AA ぶるらじQ
BlazBlue Radio Quick6
QQ ぶるらじD
BlazBlue Radio Dynamic7
DD ぶるらじNEO
BlazBlue Radio NEO8
NEONEO
Season Codes BBRadio_Cuts Code ぶるらじR
BlazBlue Radio RepeatR R ぶるらじR2
BlazBlue Radio Repeat TwoR2 R2 ぶるらじ風
BlazBlue Radio KazeK
Kaze
風K
episode
Optional. If omitted, the gallery will include all images for the season that include the specified character. (i.e. BlazBlue Radio A)
header depth
Optional. Defaults to h3
section header
Optional. An alternative title to use as the section header. It defaults to "BlazBlue Radio" plus the specified season's abbreviation.
|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 "further results" link. Defaults to 50.
|count_all=
Optional. To display a number next to "see all" e.g. "see all 5"
See Also
- Template:Gallery Metadata - defines the table named "Files" that this template refers to
- Template:Master Gallery
- Template:Gallery Section - the original Gallery Section template, which uses SMW categories to pull images
- Template:Gallery Section (Cargo) - this template, but for querying only the "Files" table
- Template:BBRadio - defines the table named "BBRadio_Cuts" that this template refers to
- Campaign:BBRadio - Easily upload images with the BBRadio Cuts template.