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

Template:Master Gallery: Difference between revisions

Template page
m (remove extraneous newlines between gallery (sub)sections)
m (remove extraneous newlines between sections)
Line 218: Line 218:
  GALLERY LAYOUT
  GALLERY LAYOUT
-------------------------------
-------------------------------
--><!-- MAIN ARTWORK -->
--><!--  
{{ Gallery Section | {{{1}}} | {{#var:MAIN_CAT}} | | h2 }}


<!-- SPRITES -->
MAIN ARTWORK
{{#ifeq: 0 | {{#var:SPRITES}}
 
-->{{ Gallery Section | {{{1}}} | {{#var:MAIN_CAT}} | | h2
}}<!--  
 
SPRITES  
 
-->{{#ifeq: 0 | {{#var:SPRITES}}
   | <!-- all three subcategories are empty, don't make a section header-->
   | <!-- all three subcategories are empty, don't make a section header-->
   | <h2> Sprites </h2>  
   | <h2> Sprites </h2>  
Line 228: Line 233:
   }}{{ Gallery Section | {{{1}}} | {{#var:PALREF_CAT}} | | h3 | Palette References  
   }}{{ Gallery Section | {{{1}}} | {{#var:PALREF_CAT}} | | h3 | Palette References  
   }}{{ Gallery Section | {{{1}}} | {{#var:LOBAVI_CAT}} | | h3 | Lobby Avatars }}
   }}{{ Gallery Section | {{{1}}} | {{#var:LOBAVI_CAT}} | | h3 | Lobby Avatars }}
}}
}}<!--
 
CHARACTER CREST


<!-- CHARACTER CREST -->
-->{{ Gallery Section | {{{1}}} | {{#var:CREST_CAT}} | | h2 | Character Crest  
{{ Gallery Section | {{{1}}} | {{#var:CREST_CAT}} | | h2 | Character Crest }}
}}<!--


<!-- ARCADE -->
ARCADE  
{{#ifeq: 0 | {{#var:ARCADE}}
 
-->{{#ifeq: 0 | {{#var:ARCADE}}
   | <!-- all four subcategories are empty, don't make a section header-->
   | <!-- all four subcategories are empty, don't make a section header-->
   | <h2> Arcade </h2>  
   | <h2> Arcade </h2>  
Line 241: Line 249:
   }}{{ Gallery Section | {{{1}}} | {{#var:CP_CAT}} | {{#var:ARCADE_CAT}} | h3  
   }}{{ Gallery Section | {{{1}}} | {{#var:CP_CAT}} | {{#var:ARCADE_CAT}} | h3  
   }}{{ Gallery Section | {{{1}}} | {{#var:CF_CAT}} | {{#var:ARCADE_CAT}} | h3 }}
   }}{{ Gallery Section | {{{1}}} | {{#var:CF_CAT}} | {{#var:ARCADE_CAT}} | h3 }}
}}
}}<!--


<!-- STORY -->
STORY  
{{#ifeq: 0 | {{#var:STORY}}
 
-->{{#ifeq: 0 | {{#var:STORY}}
   | <!-- all subcategories are empty, don't make a section header-->
   | <!-- all subcategories are empty, don't make a section header-->
   | <h2> Story </h2>  
   | <h2> Story </h2>  
Line 255: Line 264:
   }}{{ Gallery Section | {{{1}}} | {{#var:XBCE_CAT}}  | | h3  
   }}{{ Gallery Section | {{{1}}} | {{#var:XBCE_CAT}}  | | h3  
   }}{{ Gallery Section | {{{1}}} | {{#var:XBLM_CAT}}  | | h3 }}
   }}{{ Gallery Section | {{{1}}} | {{#var:XBLM_CAT}}  | | h3 }}
}}
}}<!--


<!-- NOVELS -->
NOVELS  
{{#ifeq: 0 | {{#var:NOVELS}}
 
-->{{#ifeq: 0 | {{#var:NOVELS}}
   | <!-- all subcategories are empty, don't make a section header-->
   | <!-- all subcategories are empty, don't make a section header-->
   | <h2> Novels </h2>  
   | <h2> Novels </h2>  
Line 273: Line 283:
   }}{{ Gallery Section | {{{1}}} | {{#var:BE1_CAT}}    | | h3 | BlazBlue: Bloodedge Experience - Part 1  
   }}{{ Gallery Section | {{{1}}} | {{#var:BE1_CAT}}    | | h3 | BlazBlue: Bloodedge Experience - Part 1  
   }}{{ Gallery Section | {{{1}}} | {{#var:BE2_CAT}}    | | h3 | BlazBlue: Bloodedge Experience - Part 2 }}
   }}{{ Gallery Section | {{{1}}} | {{#var:BE2_CAT}}    | | h3 | BlazBlue: Bloodedge Experience - Part 2 }}
}}
}}<!--


<!-- MANGA -->
MANGA  
{{#ifeq: 0 | {{#var:MANGA}}
 
-->{{#ifeq: 0 | {{#var:MANGA}}
   | <!-- all subcategories are empty, don't make a section header-->
   | <!-- all subcategories are empty, don't make a section header-->
   | <h2> Manga </h2>  
   | <h2> Manga </h2>  
Line 283: Line 294:
   }}{{ Gallery Section | {{{1}}} | {{#var:RH_CAT}}    | | h3 | BlazBlue: Remix Heart  
   }}{{ Gallery Section | {{{1}}} | {{#var:RH_CAT}}    | | h3 | BlazBlue: Remix Heart  
   }}{{ Gallery Section | {{{1}}} | {{#var:VH_CAT}}    | | h3 | BlazBlue: Variable Heart }}
   }}{{ Gallery Section | {{{1}}} | {{#var:VH_CAT}}    | | h3 | BlazBlue: Variable Heart }}
}}
}}<!--


<!-- ANIMATION -->
ANIMATION  
{{ Gallery Section | {{{1}}} | {{#var:ANIME_CAT}} | | h2 | Animation }}


<!-- ARTWORK -->
-->{{ Gallery Section | {{{1}}} | {{#var:ANIME_CAT}} | | h2 | Animation
{{#ifeq: 0 | {{#var:ARTWORK}}
}}<!--
 
ARTWORK  
 
-->{{#ifeq: 0 | {{#var:ARTWORK}}
   | <!-- all subcategories are empty, don't make a section header-->
   | <!-- all subcategories are empty, don't make a section header-->
   | <h2> Artwork </h2>  
   | <h2> Artwork </h2>  
Line 300: Line 314:
   }}{{ Gallery Section | {{{1}}} | {{#var:WALPPR_CAT}} | | h3 | Wallpapers  
   }}{{ Gallery Section | {{{1}}} | {{#var:WALPPR_CAT}} | | h3 | Wallpapers  
   }}{{ Gallery Section | {{{1}}} | {{#var:STICKR_CAT}} | | h3 | Stickers }}
   }}{{ Gallery Section | {{{1}}} | {{#var:STICKR_CAT}} | | h3 | Stickers }}
}}  
}}<!--
 
PRODUCTION ART


<!-- PRODUCTION ART -->
-->{{#ifeq: 0 | {{#var:PRODUCTION_ART}}
{{#ifeq: 0 | {{#var:PRODUCTION_ART}}
   | <!-- all subcategories are empty, don't make a section header-->
   | <!-- all subcategories are empty, don't make a section header-->
   | <h2> Production Art </h2>  
   | <h2> Production Art </h2>  

Revision as of 00:51, 11 November 2017

THIS TEMPLATE IS STILL A WORK IN PROGRESS SO DON'T USE IT YET

For examples of pages using this template, see Category:Gallery Pages.

Purpose

Creates a gallery from Template:Gallery Section for the specified character. It will skip sections and subsections that the character does not have images for.

Usage

{{ Master Gallery | Character Name }}