From Brotato Wiki
(Add discord) |
(Rename "weapon set" to "weapon class) |
||
Line 1: | Line 1: | ||
User page for Darkly77. View contributions [[Special:Contributions/Darkly77|here]]. | User page for Darkly77. View contributions [[Special:Contributions/Darkly77|here]]. | ||
I | I work on templates, data mining, standardisation and CSS/layout stuff. I am also active on the Spells & Guns [https://discord.gg/XakDgvQPMN Discord] (<code>Darkly77#0316</code>). | ||
==Templates== | ==Templates== | ||
Line 24: | Line 24: | ||
|Contains all data for [[Enemies#Elites (Danger 2+)|Elite Enemies]] | |Contains all data for [[Enemies#Elites (Danger 2+)|Elite Enemies]] | ||
|- | |- | ||
|[[Template: | |[[Template:WeaponClass]] | ||
|Contains and shows stats for every [[Weapons#Weapon | |Contains and shows stats for every [[Weapons#Weapon Classes|Weapon Class]] | ||
|} | |} | ||
Line 47: | Line 47: | ||
|Navigation box, shown at the bottom of every [[Characters|Character]] page. | |Navigation box, shown at the bottom of every [[Characters|Character]] page. | ||
|- | |- | ||
|[[Template: | |[[Template:WeaponClassWeapons]] | ||
|Lists the [[Weapons]] that belong to a specific [[Weapons#Weapon | |Lists the [[Weapons]] that belong to a specific [[Weapons#Weapon Classes|Weapon Class]]. | ||
|- | |- | ||
|[[Template:ItemTagCharacters]] | |[[Template:ItemTagCharacters]] | ||
Line 160: | Line 160: | ||
|Lists [[Weapons]] | |Lists [[Weapons]] | ||
|- | |- | ||
|[[Template: | |[[Template:TableRowWeaponClass]] | ||
|Lists [[Weapons#Weapon | |Lists [[Weapons#Weapon Classes|Weapon Classes]] | ||
|} | |} | ||
Line 192: | Line 192: | ||
|<code><nowiki>{{MiscIcon|Tree}}</nowiki></code> | |<code><nowiki>{{MiscIcon|Tree}}</nowiki></code> | ||
|{{MiscIcon|name=Tree}} | |{{MiscIcon|name=Tree}} | ||
|Using the | |Using one of the 3 icon templates in the rows above is preferable, as it makes maintenance a bit easier. | ||
|} | |||
=== Deprecated === | |||
Templates that have been replaced with new/renamed versions. | |||
{| class="wikitable" | |||
!Deprecated Template | |||
!New Template | |||
!Reason | |||
|- | |||
|[[Template:WeaponSet]] | |||
|[[Template:WeaponClass]] | |||
| rowspan="3" |Renamed "weapon set" to "weapon class" after data mining showed "class" to be the official name | |||
|- | |||
|[[Template:WeaponSetWeapons]] | |||
|[[Template:WeaponClassWeapons]] | |||
|- | |||
|[[Template:TableRowSet]] | |||
|[[Template:TableRowWeaponClass]] | |||
|} | |} |
Revision as of 20:31, 8 November 2022
User page for Darkly77. View contributions here.
I work on templates, data mining, standardisation and CSS/layout stuff. I am also active on the Spells & Guns Discord (Darkly77#0316
).
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 |
---|---|
Template:Character_Data | Contains all data for Characters |
Template:Item_Data | Contains all data for Items |
Template:Weapon_Data | Contains all data for Weapons |
Template:Elite_Data | Contains all data for Elite Enemies |
Template:WeaponClass | Contains and shows stats for every Weapon Class |
General
Frequently used miscellaneous templates.
Template | Description |
---|---|
Template:Iconbox | Shows items/weapons in a box, with lots of options. Widely used. |
Template:Color | Colours text, eg. green. |
Template:StatIcon | Stat icons, eg. (Damage) |
Template:NavBoxCharacters | Navigation box, shown at the bottom of every Character page. |
Template:WeaponClassWeapons | Lists the Weapons that belong to a specific Weapon Class. |
Template:ItemTagCharacters | Lists the Characters that belong to a specific Item Tag. |
Infobox
Adds a large section with lots of data. Shown on the right of the page. Some have helpers (see next section).
Template | Description |
---|---|
Template:Infobox_Character | Infobox for a single Character. Has a helper, listed below |
Template:Infobox_Item | Infobox for a single Item |
Template:Infobox_Weapon | Infobox for a single Weapon |
Template:Infobox_Elite | Infobox for a single Elite Enemy |
Infobox Helpers
Adds the specified infobox (as per the templates above), but pre-fills the options by using the current page name to get data from the respective data template.
Template | Description |
---|---|
Template:Infobox_Character_Helper | Adds Template:Infobox_Character with pre-filled data, using the current page name. |
Text
Inserts pre-defined text that commonly appears on various page types.
Template | Usage | Page Type | Description |
---|---|---|---|
Template:Character | {{Character}}
|
Character | Character page text. Intro for all characters |
Template:CharacterUnlockedBy | {{CharacterUnlockedBy}}
|
Character | Character page text. Shows how to unlock the character |
Template:CharacterUnlocks | {{CharacterUnlocks}}
|
Character | Character page text. Shows what item the character unlocks |
Template:Item | {{Item}}
|
Item | Intro text |
Template:Unique | {{Unique}}
|
Item | States that the item is unique |
Template:Weapon | {{Weapon}}
|
Weapon | Intro text |
Template:Melee | {{Melee}}
|
Weapon | Weapon type text (Melee) |
Template:Ranged | {{Ranged}}
|
Weapon | Weapon type text (Ranged) |
Template:DefaultModInstall | {{DefaultModInstall}}
|
Mod | Install instructions link |
Template:ModDisclaimerText | {{ModDisclaimerText}}
|
Mod | Disclaimer mentioning link safety |
Tables
Makes it easier to add tables and rows for specific data sets.
Template | Description |
---|---|
Template:TableHeaders | Table row headers for all rows listed below |
Template:TableRowCharacter | Lists Characters |
Template:TableRowItem | Lists Items |
Template:TableRowWeapon | Lists Weapons |
Template:TableRowWeaponClass | Lists Weapon Classes |
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 Template:Iconbox being updated with options that made them redundant for such use.
Template | Example | Preview | Notes |
---|---|---|---|
Template:CharacterIcon | {{CharacterIcon|Well Rounded}}
|
Well Rounded | |
Template:ItemIcon | {{ItemIcon|Acid}}
|
Acid | |
Template:WeaponIcon | {{WeaponIcon|Cacti Club}}
|
Cacti Club | |
Template:MiscIcon | {{MiscIcon|Tree}}
|
Tree | Using one of the 3 icon templates in the rows above is preferable, as it makes maintenance a bit easier. |
Deprecated
Templates that have been replaced with new/renamed versions.
Deprecated Template | New Template | Reason |
---|---|---|
Template:WeaponSet | Template:WeaponClass | Renamed "weapon set" to "weapon class" after data mining showed "class" to be the official name |
Template:WeaponSetWeapons | Template:WeaponClassWeapons | |
Template:TableRowSet | Template:TableRowWeaponClass |