Fire Emblem Heroes Wiki
Line 132: Line 132:
 
*Alt+Shift+S to save your edits
 
*Alt+Shift+S to save your edits
 
*Alt+Shift+I to toggle marking your edits as minor
 
*Alt+Shift+I to toggle marking your edits as minor
  +
  +
===File Cacheing===
  +
New uploaded versions of files can take several hours to days to update due to how MediaWiki caches files. So if you upload a file and it doesn't appear, just leave it as is. There is no need to upload another version or revert your upload. It will eventually update by itself.

Revision as of 22:36, 5 June 2018

Visual editor vs. source editor

Please use the source editor instead of the visual editor when editing. You can change this in your settings if you have an account, or click "edit source" if you do not have one. Visual editor lacks support for more advanced forms and editing and also loads slower. All tutorials will be assuming you use the source editor.

Basic wiki formatting

See the page at mediawikiwiki:Help:Formatting for help on basic wiki formatting.

Common wiki templates

See the page at mediawikiwiki:Help:Templates for help on templates.

Many pages on the wiki use templates, which are usually transcluded using wikitext formatted like so: {{TemplateName}}. For example, {{Quote|This is a quote.}} would call the page at Template:Quote and fill in the first parameter with "This is a quote.". Many template pages have documentation on how to use them, please check each template page if you are unsure, or inspect the code of the template if there is no documentation.

Timezones on the wiki

All dates on the wiki are in UTC. Previously there was no standard format, and it was a mixture of different formats for different kinds of pages, but moving forward the wiki will now use the ISO 8601 date format. This is the format the wiki uses: . In this example, 2018 is the year, 05 is the month, and 06 is the day. The T separates the days from the hours and minutes. 02 is the hour, 51 is the minutes, and 42 is the seconds. The Z means the time is in UTC.

An easy way to remember the order is to think of the order as the largest unit of time to the smallest unit of time, or in other words, the numbers that change the least go first while the numbers that change the most go last.

Cargo

See /Cargo for more in-depth information.

This wiki uses the Cargo extension for storing and querying data, acting essentially as a database. This allows for automated methods of creating some pages (eg. Lists), reducing the need for manual maintenance across several pages. A list of all Cargo tables can be found at Special:CargoTables.

Without Cargo, there might be the same information across multiple pages maintained manually (eg. Hero stats are used in multiple places). Previously, these pages needed to all be updated manually any time information changed. If all these pages instead use Cargo to grab the information from the Cargo table, we simply only need to change the information within the Cargo table. Then, all the pages pulling data from the Cargo table would pull the new values and automatically update accordingly.

Maintaining news archives

See Project:Boilerplates/News pages

Pages with transcribed content are created for every piece of news posted in-game (including maintenance posts). Content should be transcribed exactly as it appears in-game, or as close to it as possible.

The title of news pages should be:

  • Title of the News Article In-Game
  • Add the date in (Month Year) form if the title has potential to conflict. eg. (May 2018)
    • eg. The name Maintenance Notification has the potential to conflict.
    • Repeatable quests / game modes like Tempest Trials also have potential to conflict.
  • Add (News) to the end of the title.

Example of News Page Names

  • Special Heroes: Bridal Bloom Preview Video (News)
  • Maintenance Notification (May 2018) (News)
  • Weapon Workout Quests (May 2018) (News)


Transcribed content should:

  • Have times converted to UTC, because the in-game news automatically uses the timezone of the device viewing it.
  • Add links to related Wiki pages (eg. Summoning Focus news may link to the Summoning Focus pages. Summoning Focus about weapons that can counter can link to the category page of weapons that can counter).
  • Include the Anna/Feh comments at the end of some articles.

If unsure about proper format, looking at the source for some older news pages will help immensely to get an idea. Some examples are linked below:

These templates contain special markup to match the styling of the original news content:

Obtaining assets from the game files

Some tutorials in the wiki will assume you have access to the game files. If you do not know how to access them, see Fire Emblem Heroes Wiki:Extracting game assets. Avoid downloading asset packs from the internet, since the people often uploading them often change things around (renaming files, moving the file structure around, or even modifying files themselves, e.g. detrimental conversion of ogg files to mp3), and these wiki tutorials will give instructions that assume original paths and files.

Adding content during an update day

Adding new Heroes

See /Adding new Heroes.

Creating a new page for Summoning Focuses

You will need to create a page for the new summoning focus as well. See Project:Boilerplates/Summoning Focus.

Afterwards, you will need to add a link to it in Template:Summoning Focus Navbox.

Adding new maps

See /Adding new maps.

  • See also /Adding story dialogue if the map has story dialogue.

Adding new Skills

See /Adding new skills.

Checking for new BGM

Music files for the game are located in a couple places:

  • \Common\Sound in the downloaded files directory
    • If the song differs by region (e.g. English/Japanese vocals in End of All), it will appear in \ENCommon\Sound and \JPJA\Sound
  • \Common\Sound in the .apk
    • If the song differs by region (e.g. English/Japanese vocals in the title theme), it will appear in \ENCommon\Sound and \JPJA\Sound

Upload the sound files to the wiki and add them to the Background Music page. See Template:BGMTableRow for additional documentation on how to use the template.

Adding a new Voting Gauntlet

Adding a new Grand Conquests

Main Page Maintenance

This section covers the elements on the Main Page that need to be maintained. Some of these elements may be locked to Moderator role and above to prevent vandalism.

Updating the New Heroes above the Hero Roster

The banner above the Hero Roster on the main page needs to be updated when new heroes are released. This can be done in Template:HeroGrid.

Look for the HTML comment:

<!-- New heroes row START-->

to find where the code for the new heroes begins. After this, you will see several div tags with styling applied to them. There is a wrapper div for each event a hero is released in. Inside this wrapper div are more divs. The content of these will contain the name and link to the Summoning Focus / Tempest Trial / GHB the hero was released in followed by the Hero portraits and names using Template:Hf and Template:HtP. A few examples are below:

Example (with only new Summoning Focus):

<div style="display:inline-block;margin:10px 35px 0">
   <div style="font-variant:small-caps;font-size:110%;font-weight:bold">[[Bridal Bloom (Focus)|Bridal Bloom]]</div>
   <div style="margin:4px 8px 0;display:inline-block;">{{Hf|hero=|rarity=5|size=medium}}<br>{{HtP|1|Tharja: Obsessive Bride|Tharja}}</div>
   <div style="margin:4px 8px 0;display:inline-block;">{{Hf|hero=Ninian: Bright-Eyed Bride|rarity=5|size=medium}}<br>{{HtP|1|Ninian: Bright-Eyed Bride|Ninian}}</div>
   <div style="margin:4px 8px 0;display:inline-block;">{{Hf|hero=Sanaki: Apostle in White|rarity=5|size=medium}}<br>{{HtP|1|Sanaki: Apostle in White|Sanaki}}</div>
</div>

Example (Adding a GHB alongside Summoning Focus - Other events like TT will follow same format):

<div style="display:inline-block;margin:10px 35px 0">
   <div style="font-variant:small-caps;font-size:110%;font-weight:bold">[[Bridal Bloom (Focus)|Bridal Bloom]]</div>
   <div style="margin:4px 8px 0;display:inline-block;">{{Hf|hero=|rarity=5|size=medium}}<br>{{HtP|1|Tharja: Obsessive Bride|Tharja}}</div>
   <div style="margin:4px 8px 0;display:inline-block;">{{Hf|hero=Ninian: Bright-Eyed Bride|rarity=5|size=medium}}<br>{{HtP|1|Ninian: Bright-Eyed Bride|Ninian}}</div>
   <div style="margin:4px 8px 0;display:inline-block;">{{Hf|hero=Sanaki: Apostle in White|rarity=5|size=medium}}<br>{{HtP|1|Sanaki: Apostle in White|Sanaki}}</div>
</div>
<div style="display:inline-block;margin:10px 35px 0">
   <div style="font-variant:small-caps;font-size:110%;font-weight:bold">[[Julius: Scion of Darkness (map)|Grand Hero Battle]]</div>
   <div style="margin:4px 8px 0;display:inline-block;">{{Hf|hero=Julius: Scion of Darkness|rarity=4|size=medium}}<br>{{HtP|1|Julius: Scion of Darkness|Julius}}</div>
</div>
<div style="display:inline-block;margin:10px 35px 0">
   <div style="font-variant:small-caps;font-size:110%;font-weight:bold">[[Julius: Scion of Darkness (map)|Grand Hero Battle]]</div>
   <div style="margin:4px 8px 0;display:inline-block;">{{Hf|hero=Julius: Scion of Darkness|rarity=4|size=medium}}<br>{{HtP|1|Julius: Scion of Darkness|Julius}}</div>
</div>

Updating the current events section

This section is located at Template:Current Events. A couple examples are shown below:

Tempest Trials

{{EventEntry|{{Banner TT|bannerName=Loki's Flames}}[[Tempest Trials+]]: [[Loki's Flames]]|2018-06-03T7:00:00Z|2018-05-25T7:00:00Z}}

Tap Battle

{{EventEntry|{{Banner Event|bannerType=Tap Battle|text1=Sanctuary of the Mages|fontSize=4}}[[Tap Battle]]: [[Sanctuary of the Mages]]|2018-06-11T7:00Z}}

Bound Hero Battle

{{EventEntry|{{Banner|bannerName=Seliph and Julia|text1=Bound Hero Battle|text2=S & J|link=Seliph & Julia: Bound Hero Battle}}|2018-06-11T7:00Z|2018-06-05T7:00Z}}

Other Special Maps

{{EventEntry|[[File:Special_Maps_Four_Heroes.png|320px|link=Four Heroes (Event)]]<br />[[Four Heroes (Event)|Four Heroes]]|2018-06-21T7:00Z|2018-06-08T7:00Z}}

Other tips and tricks

Keyboard shortcuts

When editing,

  • Alt+Shift+P to preview your edits
  • Alt+Shift+S to save your edits
  • Alt+Shift+I to toggle marking your edits as minor

File Cacheing

New uploaded versions of files can take several hours to days to update due to how MediaWiki caches files. So if you upload a file and it doesn't appear, just leave it as is. There is no need to upload another version or revert your upload. It will eventually update by itself.