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

Template:Gallery Metadata: Difference between revisions

Template page
(Created page with "<noinclude><!-- -->{{#cargo_declare: _table=Files |Characters=List (,) of String |Locations=List (,) of String |Weapons=List (,) of String |Cameos=List (,) of String |Source=L...")
 
mNo edit summary
Line 21: Line 21:
|Source={{{source|}}}
|Source={{{source|}}}
|Artists={{{artists|}}}
|Artists={{{artists|}}}
|Gallery_Sections={{{section|}}}
|Gallery_Sections={{#if:{{{section|}}}|{{{section|}}}}}{{#if:{{{sections|}}}|{{{sections|}}}}}
|Date={{{date|{{#show:{{FULLPAGENAME}}|?Date}}}}}
|Date={{{date|{{#show:{{FULLPAGENAME}}|?Date}}}}}
|Caption={{{caption|{{#show:{{FULLPAGENAME}}|?Caption}}}}}
|Caption={{{caption|{{#show:{{FULLPAGENAME}}|?Caption}}}}}
Line 107: Line 107:
<code>|artists=</code> Any [[:Category:Media by Artist|artists]] who contributed to this image. This image will show up in these artist's galleries. When listing artists, split multiple artists by a forward slash (/) e.g. Sugiyama, Yuki/Mori, Toshimichi
<code>|artists=</code> Any [[:Category:Media by Artist|artists]] who contributed to this image. This image will show up in these artist's galleries. When listing artists, split multiple artists by a forward slash (/) e.g. Sugiyama, Yuki/Mori, Toshimichi


<code>|gallery_sections=</code> Which [[:Category:Media by Gallery Category|gallery section]] it should be sorted into (e.g. Model Sheets, Arcade Mode, Story, etc.)
<code>|sections=</code> or <code>|section=</code> Which [[:Category:Media by Gallery Category|gallery section]] it should be sorted into (e.g. Model Sheets, Arcade Mode, Story, etc.)


<code>|date=</code> Optional, defaults to the date in the Information template
<code>|date=</code> Optional, defaults to the date in the Information template

Revision as of 00:32, 20 May 2019

This template defines the table "Files". View table.

(view template) (view table)
This file is tagged with the following information:
Characters
Locations
Weapons
Source Material
Artists
Media type

Description

This template saves information into the Cargo table named "Files" for querying.

Goal

The primary goal of moving information into Cargo is to allow more flexible queries, such as splitting appearing characters into "characters" and "cameos" categories so that the image will only appear in "major" characters' galleries.

For example, Carl's Arcade Mode CGs may feature many other characters than just Carl in it, but they should only show up Carl's gallery. We can accomplish this by listing Carl under "characters" and all other non-Carl characters as "cameos".

Usage

{{Gallery Metadata
|characters=
|cameos=
|locations=
|weapons=
|source=
|artists=
|section=
|date=
|caption=
}}

List names exactly as they appear for each category, including any punctuation (e.g. "BlazBlue: Cross Tag Battle" or "Valkenhayn R. Hellsing"). Leave off the "Category:" prefix and place commas between entries unless otherwise stated. (i.e. Jin Kisaragi, Ragna the Bloodedge)

|characters= Characters that are the focus of this image. This image will show up in these characters' galleries.

|cameos= Other characters in this image. This image will NOT show up in their galleries.

|locations= The location(s) featured in this image.

|weapons= Any weapons featured in this image.

|source= The game, novel, or manga that is the source of this image. This image will be categorized under this game, novel, or manga in each character's gallery.

|artists= Any artists who contributed to this image. This image will show up in these artist's galleries. When listing artists, split multiple artists by a forward slash (/) e.g. Sugiyama, Yuki/Mori, Toshimichi

|sections= or |section= Which gallery section it should be sorted into (e.g. Model Sheets, Arcade Mode, Story, etc.)

|date= Optional, defaults to the date in the Information template

|caption= Optional, defaults to the page's caption property or to the caption set in the Information template

See Also