Documentation:Masterdata Calls

From Tokyo Afterschool Summoners
Jump to navigation Jump to search

This page is currently under construction

Basics

What are masterdata calls?

Write something smart here (probably just copy what Ara wrote)

Using the calls

Basic Syntax

The basic syntax for making a masterdata call is the following:

{{#masterdata:Name|id|arg1=...}}

Where

  • Name is the type of the call (see list below). Case sensitive.
  • id is the in-game ID of the object that should get displayed.
  • args are the optional additional arguments (not to be confused with predefined variables) that can affect the result of the call in some way (usually related to formatting).

Example: {{#masterdata:Skill|733|format=wiki}} will make an infobox for the skill Helmeted One.


Declaring variables

Despite having its own set of arguments, the best way to change what masterdata calls display is to declare variables. The main use for declaring variables is translating the object's name and description from Japanese to English. However, there are many other uses for them. Each masterdata call has a list of variables that can be declared before making a call.

To declare a variable, write the following before making a call:

{{#vardefine:name|value}}

Where

  • name is the name of the variable (see below). Case sensitive.
  • value is the assigned value of the variable.

To change the value of the variable, declare it again with a new value.

Note that variables usually don't reset after a masterdata call, they apply to all calls after the variable was declared. To undeclare a variable, declare the variable again and leave the value as blank.

Example:

{{#vardefine:skill en name|Devoted Dance}}
{{#masterdata:Skill|1210|format=wiki}}

will show the Devoted Dancer skill and set its English name to Devoted Dance (if it wasn't already officially translated).

List of available calls

Call syntax Description Variables Posting guidelines and Examples
{{#masterdata:Status|1234}}
Displays an infobox for a Status.
  • status en name - English name of the status. Will be shown whenever a status-showing template is used.
  • status en note - Brief description of the status. When shown by Template:Status, it gets shown when a user hovers over the name of the status.
  • The listed variables should always be defined when making a new page. Use a translating service to come up with English names and descriptions.
  • Keep each status on its own page when appropriate (stackable statuses and statuses with similar names/icons can be kept on the same page).
  • Use English names for page titles.
  • Use Template:Skills that use status to list all skills that use the new status, if they exist.
  • Make sure to create a used skills page. It should be called "status en name/Used Skills". If all is done correctly, a link to such page should appear at the bottom of the infobox.
  • When moving a status page, also move the used skills page.

Example pages: Burn, Burn/Used Skills, Acceleration.

{{#masterdata:Skill|1234|format=wiki}}
Displays an infobox for a Skill.
  • skill en name - English name of the skill. Also shown on the transient page. Automatically gets corrected to the translated one, if such exists.
  • hide guide - a formatting argument that hides the guide and the comments when set to true. Does nothing when other values are set. Useful for when multiple calls are used in a single page.
  • skill evolution - ID for a skill that the current skill can evolve into. Used for Skill Specific Evolutions only.
  • skill en description N (N - infobox number) - English description of the skill. Declaring this variable is not recommended.
  • When creating a skill page, declare the skill en name variable as blank to make it easier for translators to edit the page if you can't come up with a good translation yourself.
  • Keep each skill on its own page, except for skills with the same name and effect that have different IDs to make place for skill specific evolutions (see example below).
  • If the skill doesn't have an official translation and is not a regular skill evolution, use the Japanese name for the page title. Otherwise, use the official English one or the one that can be obviously deduced, in case of skill evolution. If names overlap (skills have same English but different jp names and have different effects), specify who the skill belongs to.
  • Declaring a skill evolution variable is not necessary for regular skill evolutions (the ones that have "+" at the end of their names).
  • Hide the guide when making multiple masterdata calls on a single page.

Example pages: Helmeted One, Athlete, Mountain Dweller

{{#masterdata:Card|1234}}
Displays an infobox for a Transient
  • transient en name - English name of the transient. Gets displayed by all templates that involve transients.
  • transient gate - a world where the transient comes from.
  • transient affiliation - a guild the transient belongs to.
  • transient en jingi - English name for the transient's charge skill.
  • transient jp en research file - translation of the transient's research file. Shows up below the infobox.
  • transient en title - English name of the transient's title (shown in-game in square brackets next to transient's name).
  • transient illustrator - illustrator or a list of illustrators that designed the transient. If multiple entries are present, they should be separated with a semicolon (;).
  • transient voice actor - same as transient illustrator but for voice actors.
  • transient variant - name of the variant the unit represents (Standard if story variant or no variant),
  • transient availability - availability of the transient (Current/Unavailable).
  • transient acquisition - a way to acquire the transient (Unobtainable or Enemy is used for enemy-only units).
  • transient species - the species the character is. Currently only manually updated for exceptions.
  • transient icon - the icon a transient has displayed in the top left corner of the infobox. Used by Template:Transient icon.
  • When creating a new transient page:
    • Use the English name of the transient for page title (should be shown in official announcements or game files).
    • Declare the following variables at the beginning of the page transient en name, transient gate, transient en affiliation.
    • For each transient call, make a header with the star rating and declare the following variables: transient en jingi, transient jp en research file, transient en title. For variants, put transient variant.
    • Add space for notes and a comment section.
  • After creating a transient page, create pages for skills and charge skills, update pages for guilds and worlds, update illustrator and voice actor lists, create new status pages if needed, etc.
  • If the pages for illustrators are not being linked properly, consider changing the illustrator names with a correct variable.
  • When creating enemy pages, mark their acquisition as Unavailable. Most other variables don't have to be declared.
  • Variables transient en name and transient en title get overridden with official English translations. Official English research files take priority over the unofficially translated ones, though the old translations can still be accessed.

Example pages: Surtr, Licho, Surtr/Enemy, Yukimura

{{#masterdata:CardPartial|1234}}
Displays an infobox for a transient with no in-game data.
  • Same as the Card masterdata call.
  • Same as with the usual transient pages, but an icon also needs to be uploaded and declared for the transient to show up correctly.

Example pages: Curren, Lil' Salomon

{{#masterdata:Equip|1234}}
Displays an infobox for AR Equipment
  • ar equipment en name - English name of the equipment.
  • ar equipment en note - translation of the flair text of the AR Equipment, displayed next to the infobox.
  • ar equipment acquisition - a note on how to acquire the equipment. Either from gacha or from a specific event.
  • Try to use the English name for the page title of the AR Equipment, if possible. If not, create a Japanese page and move it to an English one once someone comes up with a translation.
  • Declare all 3 variables previously listed. At the end of the page, make space for notes and a comment section.
  • Additionally, create a page for the AR Equipment skill using Template:AR Equipment skill.

Example pages: Father and Child, Exception of Antagonism?

{{#masterdata:Quest|1234}}
Displays an infobox for a Quest. None
  • Make a call on the dedicated quest page (for an event or a specific ward).
{{#masterdata:SkillDescription|1234}}
Displays a description of the skill. None
  • Used in the card call but can also be used by itself to make a fancy skill description.
{{#masterdata:Item|}}
Displays a list of items. None
  • Only used in a single page.
{{#masterdata:Map|}}
Displays a list of area maps. None
{{#masterdata:Rank|}}
Displays the rank table. None
  • Used in the Rank page.
{{#masterdata:Weapon|}}
Displays details about all weapon types. None

0 comments
[Show Comments]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
The stories and information posted here are artistic works of fiction and falsehood. Only a fool would take anything posted here as fact.


Add your comment
Tokyo Afterschool Summoners welcomes all comments. If you do not want to be anonymous, register or log in. It is free.