From Brotato Wiki
(Add toggles) |
(add "GenerateCharacterStartingWeaponsTable" in a new section called "Tables - Generated") |
||
(24 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
This page serves as a reminder/introduction to | This page serves as a reminder/introduction for contributors, with sections listing general editing tips, plus a full list of every custom template. | ||
== General == | |||
=== Character Pages === | |||
If you're adding strategy information to a [[Characters|Character]] page, {{MiniIconbox|name=One Armed}} is a good point of reference. It has a table for synergies and makes liberal use of the [[Template:MiniIconbox|MiniIconbox]] template. Another good character page to reference is {{MiniIconbox|name=Mage}}, who has a section for their starting items, and {{MiniIconbox|name=Ranger}}, who has a Notes section for their starting weapons. | |||
=== Mod Pages === | |||
If you want to show things like character and weapon stats, [[Mod:Extatonion]] and [[Mod:Isaac_Characters_Mod]] are excellent points of reference, as they make great use of the special templates available. | |||
=== Uploads === | |||
You can upload many images at once with the [[Special:BatchUpload|Batch Uploader]]. View uploaded files via [[Special:ListFiles]]. | |||
==Templates== | ==Templates== | ||
Line 10: | Line 21: | ||
!Description | !Description | ||
|- | |- | ||
|[[Template:Character_Data]] | |[[Template:Character_Data|Character_Data]] | ||
|All data for [[Characters]] | |All data for [[Characters]] | ||
|- | |- | ||
|[[Template:Item_Data]] | |[[Template:Item_Data|Item_Data]] | ||
|All data for [[Items]] | |All data for [[Items]] | ||
|- | |- | ||
|[[Template:Weapon_Data]] | |[[Template:Weapon_Data|Weapon_Data]] | ||
|All data for [[Weapons]] | |All data for [[Weapons]] | ||
|- | |- | ||
|[[Template:Elite_Data]] | |[[Template:Elite_Data|Elite_Data]] | ||
|All data for [[Enemies#Elites (Danger 2+)|Elite Enemies]] | |All data for [[Enemies#Elites (Danger 2+)|Elite Enemies]] | ||
|- | |- | ||
|[[Template:Boss_Data]] | |[[Template:Boss_Data|Boss_Data]] | ||
|All data for [[Enemies#Bosses (Wave 20)|Bosses]] | |All data for [[Enemies#Bosses (Wave 20)|Bosses]] | ||
|- | |- | ||
|[[Template:WeaponClass]] | |[[Template:WeaponClass|WeaponClass]] | ||
|Contains and shows stats for every [[Weapons#Weapon Classes|Weapon Class]] | |Contains and shows stats for every [[Weapons#Weapon Classes|Weapon Class]] | ||
|} | |} | ||
To Do: Explain how to regenerate the corresponding page after adding the data | |||
===General=== | ===General=== | ||
Line 37: | Line 49: | ||
!Preview | !Preview | ||
|- | |- | ||
|[[Template:Iconbox]] | |[[Template:Iconbox|Iconbox]] | ||
|Shows items/weapons in a box, with lots of options. '''Widely used.''' | |Shows items/weapons in a box, with lots of options. '''Widely used.''' | ||
| | |<code><nowiki>{{Iconbox}}</nowiki></code> | ||
| | | | ||
|- | |- | ||
|[[Template:MiniIconbox]] | |[[Template:MiniIconbox|MiniIconbox]] | ||
|Mini version of Iconbox, meant for use within content. | |Mini version of Iconbox, meant for use within content. | ||
|<code><nowiki>{{MiniIconbox|Acid}}</nowiki></code> | |<code><nowiki>{{MiniIconbox|Acid}}</nowiki></code> | ||
|{{MiniIconbox|Acid}} | |{{MiniIconbox|Acid}} | ||
|- | |- | ||
|[[Template:Color]] | |[[Template:Color|Color]] | ||
|Colours text, eg. {{Color|color=green|text=green}}. | |Colours text, eg. {{Color|color=green|text=green}}. | ||
|<code><nowiki>{{Color|red|-10%}}</nowiki></code> | |<code><nowiki>{{Color|red|-10%}}</nowiki></code> | ||
|{{Color|color=red|text=-10%}} | |{{Color|color=red|text=-10%}} | ||
|- | |- | ||
|[[Template:StatIcon]] | |[[Template:StatIcon|StatIcon]] | ||
|Stat icons, eg. {{StatIcon|Damage}} (Damage) | |Stat icons, eg. {{StatIcon|Damage}} (Damage) | ||
|<code><nowiki>{{StatIcon|Max HP}}</nowiki></code> | |<code><nowiki>{{StatIcon|Max HP}}</nowiki></code> | ||
|{{StatIcon|Max HP}} | |{{StatIcon|Max HP}} | ||
|} | |} | ||
Line 68: | Line 75: | ||
!Template | !Template | ||
!Description | !Description | ||
! | !Preview | ||
|- | |- | ||
|[[Template:MiniModIconbox]] | |[[Template:MiniModIconbox|MiniModIconbox]] | ||
|Mini icon box with a custom image and no link, intended for mod pages. | |Mini icon box with a custom image and no link, intended for mod pages. | ||
| | | | ||
|- | |- | ||
|[[Template:StatsCard]] | |[[Template:Version|Version]] | ||
|Full item/weapon stats box, to showcase modded content. Matches the in-game design | |Wraps around the mod's game version. Shows {{Color|color=pastelgreen|text=green}} if the version is current, {{Color|color=pastelred|text=red}} if it's behind. | ||
|{{Version|version=1.1.6.0}} / {{Version|version=0.6.1.6}} | |||
|- | |||
|[[Template:LinkButton|LinkButton]] | |||
|A link styled to look like a button - for internal wiki links | |||
| | |||
|- | |||
|[[Template:ExternalLinkButton|ExternalLinkButton]] | |||
|A link styled to look like a button - for external links | |||
| | |||
|} | |||
=== Mods - StatsCard === | |||
{| class="wikitable" | |||
!Template | |||
!Description | |||
!Preview | |||
|- | |||
|[[Template:StatsCard|StatsCard]] | |||
|Full item/weapon stats box, to showcase modded content. Matches the in-game design. | |||
| | | | ||
|- | |- | ||
|[[Template:StatsCardWeapon]] | |[[Template:StatsCardWeapon|StatsCardWeapon]] | ||
|Wrapper for StatsCard, with pre-filled weapon stats to save you some time. | |Wrapper for StatsCard, with pre-filled weapon stats to save you some time. | ||
| | | | ||
|- | |- | ||
|[[Template:StatsCardWeaponTabs]] | |[[Template:StatsCardWeaponTabs|StatsCardWeaponTabs]] | ||
|Tabbed version of [[Template:StatsCardWeapon|StatsCardWeapon]], to show stats for every tier. | |Tabbed version of [[Template:StatsCardWeapon|StatsCardWeapon]], to show stats for every tier. | ||
| | | | ||
|- | |- | ||
|[[Template: | |[[Template:StatsCard GridToggles|StatsCard_GridToggles]] | ||
| | |Toggle buttons for filtering items. Use them to show/hide items with different stat tags. | ||
| | | | ||
|- | |||
|[[Template:StatsCard WeaponToggles|StatsCard_WeaponToggles]] | |||
|Toggle buttons to change all [[Template:StatsCardWeaponTabs|weapon tab]] tiers at once | |||
| | |||
|} | |} | ||
Line 97: | Line 127: | ||
!Description | !Description | ||
|- | |- | ||
|[[Template:Infobox_Character]] | |[[Template:Infobox_Character|Infobox_Character]] | ||
|Infobox for a single [[Characters|Character]]. ''Has a helper, listed below'' | |Infobox for a single [[Characters|Character]]. ''Has a helper, listed below'' | ||
|- | |- | ||
|[[Template:Infobox_Character_Helper]] | |[[Template:Infobox_Character_Helper|nfobox_Character_Helper]] | ||
|Adds [[Template:Infobox_Character]] with pre-filled data, using the current page name. | |Adds [[Template:Infobox_Character]] with pre-filled data, using the current page name. | ||
|- | |- | ||
|[[Template:Infobox_Item]] | |[[Template:Infobox_Item|Infobox_Item]] | ||
|Infobox for a single [[Items|Item]] | |Infobox for a single [[Items|Item]] | ||
|- | |- | ||
|[[Template:Infobox_Weapon]] | |[[Template:Infobox_Weapon|Infobox_Weapon]] | ||
|Infobox for a single [[Weapons|Weapon]] | |Infobox for a single [[Weapons|Weapon]] | ||
|- | |- | ||
|[[Template:Infobox_Elite]] | |[[Template:Infobox_Elite|Infobox_Elite]] | ||
|Infobox for a single [[Enemies#Elites (Danger 2+)|Elite Enemy]] | |Infobox for a single [[Enemies#Elites (Danger 2+)|Elite Enemy]] | ||
|- | |||
|[[Template:Infobox_Boss|Infobox_Boss]] | |||
|Infobox for a single [[Enemies#Bosses_(Wave_20)|boss]] | |||
|} | |} | ||
Line 121: | Line 154: | ||
!Description | !Description | ||
|- | |- | ||
|[[Template:Character]] | |[[Template:Character|Character]] | ||
|<code><nowiki>{{Character}}</nowiki></code> | |<code><nowiki>{{Character}}</nowiki></code> | ||
|[[Characters|Character]] | |[[Characters|Character]] | ||
|Character page text. Intro for all [[characters]] | |Character page text. Intro for all [[characters]] | ||
|- | |- | ||
|[[Template:CharacterUnlockedBy]] | |[[Template:CharacterUnlockedBy|CharacterUnlockedBy]] | ||
|<code><nowiki>{{CharacterUnlockedBy}}</nowiki></code> | |<code><nowiki>{{CharacterUnlockedBy}}</nowiki></code> | ||
|[[Characters|Character]] | |[[Characters|Character]] | ||
|Character page text. Shows how to unlock the character | |Character page text. Shows how to unlock the character | ||
|- | |- | ||
|[[Template:CharacterUnlocks]] | |[[Template:CharacterUnlocks|CharacterUnlocks]] | ||
|<code><nowiki>{{CharacterUnlocks}}</nowiki></code> | |<code><nowiki>{{CharacterUnlocks}}</nowiki></code> | ||
|[[Characters|Character]] | |[[Characters|Character]] | ||
|Character page text. Shows what item the character unlocks | |Character page text. Shows what item the character unlocks | ||
|- | |- | ||
|[[Template:Item]] | |[[Template:Item|Item]] | ||
|<code><nowiki>{{Item}}</nowiki></code> | |<code><nowiki>{{Item}}</nowiki></code> | ||
|[[Items|Item]] | |[[Items|Item]] | ||
|Intro text | |Intro text | ||
|- | |- | ||
|[[Template:Unique]] | |[[Template:Unique|Unique]] | ||
|<code><nowiki>{{Unique}}</nowiki></code> | |<code><nowiki>{{Unique}}</nowiki></code> | ||
|[[Items|Item]] | |[[Items|Item]] | ||
|States that the item is unique | |States that the item is unique | ||
|- | |- | ||
|[[Template:Weapon]] | |[[Template:Weapon|Weapon]] | ||
|<code><nowiki>{{Weapon}}</nowiki></code> | |<code><nowiki>{{Weapon}}</nowiki></code> | ||
|[[Weapons|Weapon]] | |[[Weapons|Weapon]] | ||
|Intro text | |Intro text. Set the type with <code><small><nowiki>{{Weapon|type=melee}}</nowiki></small></code> or <code><small><nowiki>{{Weapon|type=ranged}}</nowiki></small></code> | ||
| | |||
|- | |- | ||
|[[Template: | |[[Template:WeaponPageClassText|WeaponPageClassText]] | ||
| | |||
|<code><nowiki>{{WeaponPageClassText}}</nowiki></code> | |<code><nowiki>{{WeaponPageClassText}}</nowiki></code> | ||
|[[Weapons|Weapon]] | |[[Weapons|Weapon]] | ||
|Weapon [[Weapons#Weapon Classes|class]] text | |Weapon [[Weapons#Weapon Classes|class]] text | ||
|- | |- | ||
|[[Template:WeaponClassIntroText]] | |[[Template:WeaponClassIntroText|WeaponClassIntroText]] | ||
|<code><nowiki>{{WeaponClassIntroText}}</nowiki></code> | |<code><nowiki>{{WeaponClassIntroText}}</nowiki></code> | ||
|[[Weapons#Weapon Classes|Weapon Class]] | |[[Weapons#Weapon Classes|Weapon Class]] | ||
|Intro for single weapon class page | |Intro for single weapon class page | ||
|- | |- | ||
|[[Template:ItemTagText]] | |[[Template:ItemTagText|ItemTagText]] | ||
|<code><nowiki>{{ItemTagText|Exploration}}</nowiki></code> | |<code><nowiki>{{ItemTagText|Exploration}}</nowiki></code> | ||
|Many | |Many | ||
|Full sentence stating the characters attributed to the specified [[Items#Item Tags|item tag]] | |Full sentence stating the characters attributed to the specified [[Items#Item Tags|item tag]] | ||
|- | |- | ||
|[[Template:DefaultModInstall]] | |[[Template:DefaultModInstall|DefaultModInstall]] | ||
|<code><nowiki>{{DefaultModInstall}}</nowiki></code> | |<code><nowiki>{{DefaultModInstall}}</nowiki></code> | ||
|[[Modding|Mod]] | |[[Modding|Mod]] | ||
|Mod install instructions link | |Mod install instructions link | ||
|- | |- | ||
|[[Template:ModDisclaimerText]] | |[[Template:ModDisclaimerText|ModDisclaimerText]] | ||
|<code><nowiki>{{ModDisclaimerText}}</nowiki></code> | |<code><nowiki>{{ModDisclaimerText}}</nowiki></code> | ||
|[[Modding|Mod]] | |[[Modding|Mod]] | ||
Line 193: | Line 216: | ||
!Description | !Description | ||
|- | |- | ||
|[[Template:WeaponClassWeapons]] | |[[Template:WeaponClassWeapons|WeaponClassWeapons]] | ||
|Lists the [[Weapons]] that belong to a specific [[Weapons#Weapon Classes|Weapon Class]]. | |Lists the [[Weapons]] that belong to a specific [[Weapons#Weapon Classes|Weapon Class]]. | ||
|- | |- | ||
|[[Template:ItemTagCharacters]] | |[[Template:ItemTagCharacters|ItemTagCharacters]] | ||
|Lists the [[Characters]] that belong to a specific [[Items#Item Tags|Item Tag]]. | |Lists the [[Characters]] that belong to a specific [[Items#Item Tags|Item Tag]]. | ||
|} | |} | ||
Line 206: | Line 229: | ||
!Description | !Description | ||
|- | |- | ||
|[[Template:TableHeaders]] | |[[Template:TableHeaders|TableHeaders]] | ||
|Table row headers for all rows listed below | |Table row headers for all rows listed below. The template's page has examples for all the templates below. | ||
|- | |- | ||
|[[Template:TableRowCharacter]] | |[[Template:TableRowCharacter|TableRowCharacter]] | ||
|Lists [[Characters]] | |Lists [[Characters]] | ||
|- | |- | ||
|[[Template:TableRowItem]] | |[[Template:TableRowItem|TableRowItem]] | ||
|Lists [[Items]] | |Lists [[Items]] | ||
|- | |- | ||
|[[Template:TableRowWeapon]] | |[[Template:TableRowWeapon|TableRowWeapon]] | ||
|Lists [[Weapons]] | |Lists [[Weapons]] | ||
|- | |- | ||
|[[Template:TableRowWeaponClass]] | |[[Template:TableRowWeaponClass|TableRowWeaponClass]] | ||
|Lists [[Weapons#Weapon Classes|Weapon Classes]] | |Lists [[Weapons#Weapon Classes|Weapon Classes]] | ||
|} | |||
===Tables - Generated === | |||
These tables are automatically generated, using Lua modules. | |||
{| class="wikitable" | |||
!Template | |||
! Description | |||
|- | |||
|[[Template:GenerateCharacterStartingWeaponsTable|GenerateCharacterStartingWeaponsTable]] | |||
|Generates a character's starting weapons table. Uses [[Module:GetStartingWeaponsTableForCharacter|this]] module. Pulls data from [[Template:Character Data|Character_Data]]. | |||
|} | |} | ||
Line 225: | Line 258: | ||
Add an pre-sized icon with a link to the specified item/weapon/character (eg. see [[Shop#Modifiers|Shop > Modifiers]]). | Add an pre-sized icon with a link to the specified item/weapon/character (eg. see [[Shop#Modifiers|Shop > Modifiers]]). | ||
''Most of these were widely used in common templates, prior to [[Template:Iconbox]] being updated with options that made them redundant for such use.'' | ''Most of these were widely used in common templates, prior to [[Template:Iconbox|Iconbox]] being updated with options that made them redundant for such use, and [[Template:MiniIconbox|MiniIconbox]] being created.'' | ||
{| class="wikitable" | {| class="wikitable" | ||
!Template | !Template | ||
Line 232: | Line 265: | ||
!Notes | !Notes | ||
|- | |- | ||
|[[Template:CharacterIcon]] | |[[Template:CharacterIcon|CharacterIcon]] | ||
|<code><nowiki>{{CharacterIcon|Well Rounded}}</nowiki></code> | |<code><nowiki>{{CharacterIcon|Well Rounded}}</nowiki></code> | ||
|{{CharacterIcon|name=Well Rounded}} | |{{CharacterIcon|name=Well Rounded}} | ||
|- | |- | ||
|[[Template:ItemIcon]] | |[[Template:ItemIcon|ItemIcon]] | ||
|<code><nowiki>{{ItemIcon|Acid}}</nowiki></code> | |<code><nowiki>{{ItemIcon|Acid}}</nowiki></code> | ||
|{{ItemIcon|name=Acid}} | |{{ItemIcon|name=Acid}} | ||
|- | |- | ||
|[[Template:WeaponIcon]] | |[[Template:WeaponIcon|WeaponIcon]] | ||
|<code><nowiki>{{WeaponIcon|Cacti Club}}</nowiki></code> | |<code><nowiki>{{WeaponIcon|Cacti Club}}</nowiki></code> | ||
|{{WeaponIcon|name=Cacti Club}} | |{{WeaponIcon|name=Cacti Club}} | ||
|- | |- | ||
|[[Template:MiscIcon]] | |[[Template:MiscIcon|MiscIcon]] | ||
|<code><nowiki>{{MiscIcon|Tree}}</nowiki></code> | |<code><nowiki>{{MiscIcon|Tree}}</nowiki></code> | ||
|{{MiscIcon|name=Tree}} | |{{MiscIcon|name=Tree}} | ||
|} | |} | ||
=== Toggles === | ===Toggles === | ||
Can be used to show/hide sections by clicking a button. | Can be used to show/hide sections by clicking a button. | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 269: | Line 298: | ||
|- | |- | ||
|[[Template:ToggleSection|ToggleSection]] | |[[Template:ToggleSection|ToggleSection]] | ||
|Lets you make multiple toggleable sections that open/collapse from a single button. | | Lets you make multiple toggleable sections that open/collapse from a single button. | ||
|<code><nowiki>{{ToggleSection}}</nowiki></code> | |<code><nowiki>{{ToggleSection}}</nowiki></code> | ||
|- | |- | ||
|[[Template:ToggleButton|ToggleButton]] | |[[Template:ToggleButton|ToggleButton]] | ||
|Use with [[Template:ToggleSection|ToggleSection]] to make a toggle button separate from its target section(s). | |Use with [[Template:ToggleSection|ToggleSection]] to make a toggle button separate from its target section(s). | ||
|<code><nowiki>{{ToggleButton}}</nowiki></code> | | <code><nowiki>{{ToggleButton}}</nowiki></code> | ||
|} | |||
===Navbox=== | |||
Tables with links for quick navigation. | |||
{| class="wikitable" | |||
!Template | |||
!Description | |||
!Code | |||
|- | |||
|[[Template:NavBoxCharacters|NavBoxCharacters]] | |||
|Navigation box for [[Characters|Character]] pages. | |||
|<code><nowiki>{{NavBoxCharacters}}</nowiki></code> | |||
|- | |||
|[[Template:NavBoxStats|NavBoxStats]] | |||
|Navigation box for [[Stats|Stat]] pages. | |||
| <code><nowiki>{{NavBoxStats}}</nowiki></code> | |||
|- | |||
|[[Template:NavBoxModding|NavBoxModding]] | |||
|Navigation box for [[Modding]] pages. | |||
|<code><nowiki>{{NavBoxModding}}</nowiki></code> | |||
|} | |} | ||
=== Functions === | ===Functions=== | ||
Helper functions, used to get data with minimal template logic. | Helper functions, used to get data with minimal template logic. | ||
{| class="wikitable" | {| class="wikitable" | ||
!Template | !Template | ||
!Description | !Description | ||
|- | |- | ||
|[[Template:GetType]] | |[[Template:GetType|GetType]] | ||
|Gets the type for the provided thing (item, weapon, character) | |Gets the type for the provided thing (item, weapon, character) | ||
|- | |- | ||
|[[Template:GetRarity]] | |[[Template:GetRarity|GetRarity]] | ||
|Gets the rarity for the provided item/weapon | |Gets the rarity for the provided item/weapon | ||
|- | |- | ||
|[[Template:GetVersion]] | |[[Template:GetVersion|GetVersion]] | ||
|Gets the current game version. Used by [[Template:Version]] | |Gets the current game version. Used by [[Template:Version]] | ||
|} | |} | ||
=== Deprecated === | ===Deprecated=== | ||
Templates that have been replaced with new/renamed versions. | Templates that have been replaced with new/renamed versions. | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 300: | Line 349: | ||
!Reason | !Reason | ||
|- | |- | ||
|[[Template:WeaponSet]] | |[[Template:WeaponSet|WeaponSet]] | ||
|[[Template:WeaponClass]] | |[[Template:WeaponClass|WeaponClass]] | ||
| rowspan="3" |Renamed "weapon set" to "weapon class" after data mining showed "class" to be the official name | | rowspan="3" |Renamed "weapon set" to "weapon class" after data mining showed "class" to be the official name | ||
|- | |- | ||
|[[Template:WeaponSetWeapons]] | |[[Template:WeaponSetWeapons|WeaponSetWeapons]] | ||
|[[Template:WeaponClassWeapons]] | |[[Template:WeaponClassWeapons|WeaponClassWeapons]] | ||
|- | |||
|[[Template:TableRowSet|TableRowSet]] | |||
|[[Template:TableRowWeaponClass|TableRowWeaponClass]] | |||
|- | |||
| [[Template:Melee|Melee]] | |||
| rowspan="2" |[[Template:Weapon|Weapon]] | |||
| rowspan="2" |The Weapon template was expanded with options to show the melee/ranged text. | |||
|- | |||
|[[Template:Ranged|Ranged]] | |||
|} | |||
===DLC=== | |||
Templates related to the {{DLC Link|link=Abyssal Terrors DLC}} | |||
{| class="wikitable" | |||
!Template | |||
!Description | |||
|- | |||
|[[Template:DLCLink|DLCLink]] | |||
|Add a DLC badge after a link | |||
|- | |||
|[[Template:DLCBadge|DLCBadge]] | |||
|Add a standalone DLC badge: {{DLCBadge}} | |||
|- | |||
|[[Template:GetDLCStatus|GetDLCStatus]] | |||
|Check if an item/weapon is from the DLC | |||
|- | |||
|[[Template:DLCNotice|DLCNotice]] | |||
|Notice saying that the current page is part of the {{DLCLink|Abyssal Terrors DLC}} | |||
|} | |||
===Notices=== | |||
Adds a notice, usually at the top of a page. | |||
{| class="wikitable" | |||
|Template | |||
|Description | |||
|- | |||
|[[Template:DLCNotice|DLCNotice]] | |||
|Says that the current page is part of the {{DLCLink|Abyssal Terrors DLC}} | |||
|- | |- | ||
|[[Template: | |[[Template:CommunityMainNotice|CommunityMainNotice]] | ||
|[[Template: | | Warns that content is provided by the community | ||
|- | |||
|[[Template:CommunityNotice|CommunityNotice]] | |||
|Warns that the current page was written by a member of the community (eg. for a guide) | |||
|} | |} | ||
==Special== | |||
Special wiki pages. | |||
*[[Special:SpecialPages]] - List of all special pages | |||
*[[Special:BatchUpload]] Bulk image uploader | |||
*[[Special:UncategorizedTemplates]] - Shows all the custom templates on this wiki | |||
==Admin== | |||
These are special admin pages, and aren't available for public editing. | |||
*[[MediaWiki:Common.css]] - Custom styles | |||
*[[MediaWiki:Common.js]] - Custom JavaScript |
Latest revision as of 10:59, 6 November 2024
This page serves as a reminder/introduction for contributors, with sections listing general editing tips, plus a full list of every custom template.
General
Character Pages
If you're adding strategy information to a Character page, One Armed is a good point of reference. It has a table for synergies and makes liberal use of the MiniIconbox template. Another good character page to reference is Mage, who has a section for their starting items, and Ranger, who has a Notes section for their starting weapons.
Mod Pages
If you want to show things like character and weapon stats, Mod:Extatonion and Mod:Isaac_Characters_Mod are excellent points of reference, as they make great use of the special templates available.
Uploads
You can upload many images at once with the Batch Uploader. View uploaded files via Special:ListFiles.
Templates
Quick reference list of useful templates. See also: Special:UncategorizedTemplates. For cleanup, see Special:UnusedTemplates.
Data
Contains all data of the specified type. Used by tables, infoboxes, Template:Iconbox, and more.
Template | Description |
---|---|
Character_Data | All data for Characters |
Item_Data | All data for Items |
Weapon_Data | All data for Weapons |
Elite_Data | All data for Elite Enemies |
Boss_Data | All data for Bosses |
WeaponClass | Contains and shows stats for every Weapon Class |
To Do: Explain how to regenerate the corresponding page after adding the data
General
Frequently used miscellaneous templates.
Template | Description | Example | Preview |
---|---|---|---|
Iconbox | Shows items/weapons in a box, with lots of options. Widely used. | {{Iconbox}}
|
|
MiniIconbox | Mini version of Iconbox, meant for use within content. | {{MiniIconbox|Acid}}
|
Acid |
Color | Colours text, eg. green. | {{Color|red|-10%}}
|
-10% |
StatIcon | Stat icons, eg. (Damage) | {{StatIcon|Max HP}}
|
Mods
Specifically made for mod pages, to showcase characters/items/weapons.
Template | Description | Preview |
---|---|---|
MiniModIconbox | Mini icon box with a custom image and no link, intended for mod pages. | |
Version | Wraps around the mod's game version. Shows green if the version is current, red if it's behind. | 1.1.6.0 / 0.6.1.6 |
LinkButton | A link styled to look like a button - for internal wiki links | |
ExternalLinkButton | A link styled to look like a button - for external links |
Mods - StatsCard
Template | Description | Preview |
---|---|---|
StatsCard | Full item/weapon stats box, to showcase modded content. Matches the in-game design. | |
StatsCardWeapon | Wrapper for StatsCard, with pre-filled weapon stats to save you some time. | |
StatsCardWeaponTabs | Tabbed version of StatsCardWeapon, to show stats for every tier. | |
StatsCard_GridToggles | Toggle buttons for filtering items. Use them to show/hide items with different stat tags. | |
StatsCard_WeaponToggles | Toggle buttons to change all weapon tab tiers at once |
Infobox
Adds a large section with lots of data. Shown on the right of the page. Some have helpers (see next section).
Template | Description |
---|---|
Infobox_Character | Infobox for a single Character. Has a helper, listed below |
nfobox_Character_Helper | Adds Template:Infobox_Character with pre-filled data, using the current page name. |
Infobox_Item | Infobox for a single Item |
Infobox_Weapon | Infobox for a single Weapon |
Infobox_Elite | Infobox for a single Elite Enemy |
Infobox_Boss | Infobox for a single boss |
Text
Inserts pre-defined text that commonly appears on various page types.
Template | Usage | Page Type | Description |
---|---|---|---|
Character | {{Character}}
|
Character | Character page text. Intro for all characters |
CharacterUnlockedBy | {{CharacterUnlockedBy}}
|
Character | Character page text. Shows how to unlock the character |
CharacterUnlocks | {{CharacterUnlocks}}
|
Character | Character page text. Shows what item the character unlocks |
Item | {{Item}}
|
Item | Intro text |
Unique | {{Unique}}
|
Item | States that the item is unique |
Weapon | {{Weapon}}
|
Weapon | Intro text. Set the type with {{Weapon|type=melee}} or {{Weapon|type=ranged}}
|
WeaponPageClassText | {{WeaponPageClassText}}
|
Weapon | Weapon class text |
WeaponClassIntroText | {{WeaponClassIntroText}}
|
Weapon Class | Intro for single weapon class page |
ItemTagText | {{ItemTagText|Exploration}}
|
Many | Full sentence stating the characters attributed to the specified item tag |
DefaultModInstall | {{DefaultModInstall}}
|
Mod | Mod install instructions link |
ModDisclaimerText | {{ModDisclaimerText}}
|
Mod | Mod disclaimer mentioning link safety |
Text Lists
Lists data.
Template | Description |
---|---|
WeaponClassWeapons | Lists the Weapons that belong to a specific Weapon Class. |
ItemTagCharacters | Lists the Characters that belong to a specific Item Tag. |
Tables
Makes it easier to add tables and rows for specific data sets. The page for Template:TableHeaders shows examples for every template.
Template | Description |
---|---|
TableHeaders | Table row headers for all rows listed below. The template's page has examples for all the templates below. |
TableRowCharacter | Lists Characters |
TableRowItem | Lists Items |
TableRowWeapon | Lists Weapons |
TableRowWeaponClass | Lists Weapon Classes |
Tables - Generated
These tables are automatically generated, using Lua modules.
Template | Description |
---|---|
GenerateCharacterStartingWeaponsTable | Generates a character's starting weapons table. Uses this module. Pulls data from Character_Data. |
Linked Icons
Add an pre-sized icon with a link to the specified item/weapon/character (eg. see Shop > Modifiers).
Most of these were widely used in common templates, prior to Iconbox being updated with options that made them redundant for such use, and MiniIconbox being created.
Template | Example | Preview | Notes |
---|---|---|---|
CharacterIcon | {{CharacterIcon|Well Rounded}}
|
Well Rounded | |
ItemIcon | {{ItemIcon|Acid}}
|
Acid | |
WeaponIcon | {{WeaponIcon|Cacti Club}}
|
Cacti Club | |
MiscIcon | {{MiscIcon|Tree}}
|
Tree |
Toggles
Can be used to show/hide sections by clicking a button.
Template | Description | Code |
---|---|---|
ToggleStart | Starts a toggleable section. The template page has docs for all the other toggle templates. | {{ToggleStart}}
|
ToggleEnd | Ends a toggleable section. Required, otherwise the page will break! | {{ToggleEnd}}
|
ToggleSection | Lets you make multiple toggleable sections that open/collapse from a single button. | {{ToggleSection}}
|
ToggleButton | Use with ToggleSection to make a toggle button separate from its target section(s). | {{ToggleButton}}
|
Tables with links for quick navigation.
Template | Description | Code |
---|---|---|
NavBoxCharacters | Navigation box for Character pages. | {{NavBoxCharacters}}
|
NavBoxStats | Navigation box for Stat pages. | {{NavBoxStats}}
|
NavBoxModding | Navigation box for Modding pages. | {{NavBoxModding}}
|
Functions
Helper functions, used to get data with minimal template logic.
Template | Description |
---|---|
GetType | Gets the type for the provided thing (item, weapon, character) |
GetRarity | Gets the rarity for the provided item/weapon |
GetVersion | Gets the current game version. Used by Template:Version |
Deprecated
Templates that have been replaced with new/renamed versions.
Deprecated Template | New Template | Reason |
---|---|---|
WeaponSet | WeaponClass | Renamed "weapon set" to "weapon class" after data mining showed "class" to be the official name |
WeaponSetWeapons | WeaponClassWeapons | |
TableRowSet | TableRowWeaponClass | |
Melee | Weapon | The Weapon template was expanded with options to show the melee/ranged text. |
Ranged |
DLC
Templates related to the Abyssal Terrors DLC(DLC)
Template | Description |
---|---|
DLCLink | Add a DLC badge after a link |
DLCBadge | Add a standalone DLC badge: (DLC) |
GetDLCStatus | Check if an item/weapon is from the DLC |
DLCNotice | Notice saying that the current page is part of the Abyssal Terrors DLC(DLC) |
Notices
Adds a notice, usually at the top of a page.
Template | Description |
DLCNotice | Says that the current page is part of the Abyssal Terrors DLC(DLC) |
CommunityMainNotice | Warns that content is provided by the community |
CommunityNotice | Warns that the current page was written by a member of the community (eg. for a guide) |
Special
Special wiki pages.
- Special:SpecialPages - List of all special pages
- Special:BatchUpload Bulk image uploader
- Special:UncategorizedTemplates - Shows all the custom templates on this wiki
Admin
These are special admin pages, and aren't available for public editing.
- MediaWiki:Common.css - Custom styles
- MediaWiki:Common.js - Custom JavaScript