Difference between revisions of "Module:Character Gallery/data"

From BlazBlue Wiki
Jump to: navigation, search
m (fix bug where some sections were not showing up)
m (fix promotional artwork section not showing up)
 
Line 75: Line 75:
 
},
 
},
 
['Artwork'] = {
 
['Artwork'] = {
{template='Gallery Section (Cargo)',section='Promotional',header='h3',title='Promotional'},
+
{template='Gallery Section (Cargo)',section='Promotional Artwork',header='h3',title='Promotional'},
 
{template='Gallery Section (Cargo)',section='Birthday Art',header='h3',title='Birthday Art',sort='date'},
 
{template='Gallery Section (Cargo)',section='Birthday Art',header='h3',title='Birthday Art',sort='date'},
 
{template='Gallery Section (Cargo)',section='Staff Extras',header='h3',title='Staff Extras'},
 
{template='Gallery Section (Cargo)',section='Staff Extras',header='h3',title='Staff Extras'},

Latest revision as of 16:34, 26 July 2020

This page defines the structure of Module:Character Gallery.

Ordering

Sections will be displayed on the page in the same order as they are listed in the ordering.

Sections will NOT be displayed if they aren't included in the ordering.

Sections

Sections (['Section Header']={...}) are at h2 depth. Individual galleries' and subheaders' depths can be controlled with header=h2, h3, h4, h5.

class = 'inline-gallery' forces the galleries in that section to appear inline. For an example, see the Gameplay section of any character's gallery (ex. Izayoi/Gallery#Gameplay)

Templates

template='Header' produces a header that's independent of a gallery.

  • Example: {template='Header',header='h3',title='C-Series'}
  • header controls its depth
  • title is what text to display as the header

template='Gallery Section' produces a Template:Gallery Section

  • The character specified when invoking Module:Character Gallery becomes the first category
  • category becomes the second category
  • category2 (optional) becomes the third category if it's provided

For template='Gallery Section (Cargo)' and template='Gallery Section (BBRadio)', please see their respective pages for an explanation of their parameters:


local p = {}

local sections = {
	['Main Visuals'] = {
		{template='Gallery Section (Cargo)',section='Main Artwork',header='plain',sort='Date'},
		{template='Gallery Section (Cargo)',section='Crests',header='h3',title='Character Crest'},
		{template='Gallery Section (Cargo)',section='Chibi',header='h3',title='Chibi'},
	},
	['Gameplay'] = {
		class = 'inline-gallery',
		{template="Header",header="h3",title="C-Series"},
		{template='Gallery Section (Cargo)',source='BlazBlue: Central Fiction',section='Lobby Avatars',widths=150,limit=100,see_all='n',header='plain'},
		{template='Gallery Section (Cargo)',source='BlazBlue: Central Fiction',section='Battle',widths=150,limit=100,see_all='n',header='plain'},
		{template="Header",header="h3",title="BlazBlue: Cross Tag Battle"},
		{template='Gallery Section (Cargo)',source='BlazBlue: Cross Tag Battle',section='Battle',widths=150,limit=100,see_all='n',header='plain'},
	},
	['Arcade'] = {
		{template='Gallery Section (Cargo)',source='BlazBlue: Calamity Trigger',section='Arcade Mode',header="h3",title="BlazBlue: Calamity Trigger"},
		{template='Gallery Section (Cargo)',source='BlazBlue: Continuum Shift',section='Arcade Mode',header="h3",title="BlazBlue: Continuum Shift"},
		{template='Gallery Section (Cargo)',source='BlazBlue: Chrono Phantasma',section='Arcade Mode',header="h3",title="BlazBlue: Chrono Phantasma"},
		{template='Gallery Section (Cargo)',source='BlazBlue: Central Fiction',section='Arcade Mode',header="h3",title="BlazBlue: Central Fiction"},
	},
	['Story'] = {
		{template='Gallery Section (Cargo)',section='Portraits',header='h3',title='Portraits'},
		{template='Gallery Section (Cargo)',section='Short Story Illustrations',header='h3',title='Short Stories'},
		{template='Gallery Section (Cargo)',source='BlazBlue: Calamity Trigger',section='Story',header="h3",title="BlazBlue: Calamity Trigger"},
		{template='Gallery Section (Cargo)',source='BlazBlue: Continuum Shift',section='Story',header="h3",title="BlazBlue: Continuum Shift"},
		{template='Gallery Section (Cargo)',source='BlazBlue: Chrono Phantasma',section='Story',header="h3",title="BlazBlue: Chrono Phantasma"},
		{template='Gallery Section (Cargo)',source='BlazBlue: Central Fiction',section='Story',header="h3",title="BlazBlue: Central Fiction"},
		{template='Gallery Section (Cargo)',source='BlazBlue: Cross Tag Battle',section='Story',header="h3",title="BlazBlue: Cross Tag Battle"},
		{template='Gallery Section (Cargo)',source='BlazBlue: Clone Phantasma',section='Story',header="h3",title="BlazBlue: Clone Phantasma"},
		{template='Gallery Section (Cargo)',source='XBlaze Code: Embryo',section='Story',header="h3",title="XBlaze Code: Embryo"},
		{template='Gallery Section (Cargo)',source='XBlaze Lost: Memories',section='Story',header="h3",title="XBlaze Lost: Memories"},
	},
	['Novels'] = {
		{template='Gallery Section (Cargo)',source='BlazBlue: Phase 0',header='h3',title='BlazBlue: Phase 0'},
		{template='Gallery Section (Cargo)',source='BlazBlue: Phase Shift 1',header='h3',title='BlazBlue: Phase Shift 1'},
		{template='Gallery Section (Cargo)',source='BlazBlue: Phase Shift 2',header='h3',title='BlazBlue: Phase Shift 2'},
		{template='Gallery Section (Cargo)',source='BlazBlue: Phase Shift 3',header='h3',title='BlazBlue: Phase Shift 3'},
		{template='Gallery Section (Cargo)',source='BlazBlue: Phase Shift 4',header='h3',title='BlazBlue: Phase Shift 4'},
		{template='Gallery Section (Cargo)',source='BlazBlue: Calamity Trigger - Part 1',header='h3',title='BlazBlue: Calamity Trigger - Part 1'},
		{template='Gallery Section (Cargo)',source='BlazBlue: Calamity Trigger - Part 2',header='h3',title='BlazBlue: Calamity Trigger - Part 2'},
		{template='Gallery Section (Cargo)',source='BlazBlue: Continuum Shift - Part 1',header='h3',title='BlazBlue: Continuum Shift - Part 1'},
		{template='Gallery Section (Cargo)',source='BlazBlue: Continuum Shift - Part 2',header='h3',title='BlazBlue: Continuum Shift - Part 2'},
		{template='Gallery Section (Cargo)',source='BlazBlue: Spiral Shift - Hero of the Frozen Blade',header='h3',title='BlazBlue: Spiral Shift - Hero of the Frozen Blade'},
		{template='Gallery Section (Cargo)',source='BlazBlue: Bloodedge Experience - Part 1',header='h3',title='BlazBlue: Bloodedge Experience - Part 1'},
		{template='Gallery Section (Cargo)',source='BlazBlue: Bloodedge Experience - Part 2',header='h3',title='BlazBlue: Bloodedge Experience - Part 2'},
	},
	['Manga'] = {
		{template='Gallery Section (Cargo)',source='BlazBlue (Manga)',header='h3',title='BlazBlue (Manga)'},
		{template='Gallery Section (Cargo)',source='BlazBlue: Chimelical Complex',header='h3',title='BlazBlue: Chimelical Complex'},
		{template='Gallery Section (Cargo)',source='BlazBlue: Remix Heart',header='h3',title='BlazBlue: Remix Heart'},
		{template='Gallery Section (Cargo)',source='BlazBlue: Variable Heart',header='h3',title='BlazBlue: Variable Heart'},
	},
	['Animation'] = {
		{template='Gallery Section (Cargo)',source='BlazBlue: Alter Memory',section='Animations',header='h3',title='BlazBlue: Alter Memory'},
		{template='Gallery Section (Cargo)',source='BlazBlue: Calamity Trigger',section='Animations',header='h3',title='BlazBlue: Calamity Trigger'},
		{template='Gallery Section (Cargo)',source='BlazBlue: Continuum Shift',section='Animations',header='h3',title='BlazBlue: Continuum Shift'},
		{template='Gallery Section (Cargo)',source='BlazBlue: Chrono Phantasma',section='Animations',header='h3',title='BlazBlue: Chrono Phantasma'},
		{template='Gallery Section (Cargo)',source='BlazBlue: Central Fiction',section='Animations',header='h3',title='BlazBlue: Central Fiction'},
	},
	['Radio Show'] = {
		{template='Gallery Section (Cargo)',section='Chibi Portraits',header='h3',title='Chibi Portraits',limit=6},
		{template='Gallery Section (BBRadio)',season='1',header='h3',title='Blazblue Radio',limit=5,widths=150},
		{template='Gallery Section (BBRadio)',season='2',header='h3',title='Blazblue Radio Continued',limit=5,widths=150},
		{template='Gallery Section (BBRadio)',season='W',header='h3',title='Blazblue Radio Wide',limit=5,widths=150},
		{template='Gallery Section (BBRadio)',season='H',header='h3',title='Blazblue Radio Hyper',limit=5,widths=150},
		{template='Gallery Section (BBRadio)',season='A',header='h3',title='Blazblue Radio Ace',limit=5,widths=150},
		{template='Gallery Section (BBRadio)',season='Q',header='h3',title='Blazblue Radio Quick',limit=5,widths=150},
		{template='Gallery Section (BBRadio)',season='D',header='h3',title='Blazblue Radio Dynamic',limit=5,widths=150},
		{template='Gallery Section (BBRadio)',season='NEO',header='h3',title='Blazblue Radio NEO',limit=5,widths=150},
		{template='Gallery Section (BBRadio)',season='R',header='h3',title='Blazblue Radio Repeat',limit=5,widths=150},
		{template='Gallery Section (BBRadio)',season='R2',header='h3',title='Blazblue Radio Repeat 2',limit=5,widths=150},
		{template='Gallery Section (BBRadio)',season='K',header='h3',title='Blazblue Radio Kaze',limit=5,widths=150},
	},
	['Artwork'] = {
		{template='Gallery Section (Cargo)',section='Promotional Artwork',header='h3',title='Promotional'},
		{template='Gallery Section (Cargo)',section='Birthday Art',header='h3',title='Birthday Art',sort='date'},
		{template='Gallery Section (Cargo)',section='Staff Extras',header='h3',title='Staff Extras'},
		{template='Gallery Section (Cargo)',section='Guest Artwork',header='h3',title='Guest Artwork'},
		{template='Gallery Section (Cargo)',section='Pre-order Bonuses',header='h3',title='Pre-order Bonuses'},
		{template='Gallery Section (Cargo)',section='Wallpapers',header='h3',title='Wallpapers'},
		{template='Gallery Section (Cargo)',section='Stickers',header='h3',title='Stickers'},
		{template='Gallery Section (Cargo)',section='Icons',header='h3',title='Icons'},
	},
	['Production Art'] = {
		{template='Gallery Section (Cargo)',section='Model Sheets',header='h3',title='Model Sheets'},
		{template='Gallery Section (Cargo)',section='Early Designs',header='h3',title='Early Designs'},
		{template='Gallery Section (Cargo)',section='Storyboards',header='h3',title='Storyboards'},
	},
	['Collaborations'] = {
		{template='Gallery Section',category='Destiny Child',header='h3',title='Destiny Child'},
		{template='Gallery Section',category="Girls' Frontline",header='h3',title="Girls' Frontline"},
		{template='Gallery Section',category='Lord of Vermilion Re:2',header='h3',title='Lord of Vermilion Re:2'},
		{template='Gallery Section',category='Lord of Vermilion III',header='h3',title='Lord of Vermilion III'},
		{template='Gallery Section',category='Mabinogi Duel',header='h3',title='Mabinogi Duel'},
		{template='Gallery Section',category='Unlimited VS',header='h3',title='Unlimited VS'},
	}
}

local ordering = {
	'Main Visuals',
	'Gameplay',
	'Arcade',
	'Story',
	'Novels',
	'Manga',
	'Animation',
	'Radio Show',
	'Artwork',
	'Production Art',
	'Collaborations',
}

p.ordering = ordering
p.sections = sections
return p