Template:Custom: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{|style="border:2px solid | {|style="border:2px solid purple;" width=100% | ||
|align="center"|<big>'''Custom Content'''</big><br />This page is for custom content on Dragonmoon. | |align="center"|<big>'''Custom Content'''</big><br />This page is for custom content on Dragonmoon. | ||
|} | |} | ||
{{#ifeq:{{lc:{{{Event|false}}}}}|true|[[Category:Events (Custom)]]|}}{{#ifeq:{{lc:{{{Creature|false}}}}}|true|[[Category:Creatures (Custom)]]|}}{{#ifeq:{{lc:{{{Dungeon|false}}}}}|true|[[Category:Dungeons (Custom)]]|}}{{#ifeq:{{lc:{{{POI|false}}}}}|true|[[Category:Points of Interest (Custom)]]|}}{{#ifeq:{{lc:{{{Quest NPC|false}}}}}|true|[[Category:Quest NPCs (Custom)]]|}}{{#ifeq:{{lc:{{{Vendor NPC|false}}}}}|true|[[Category:Vendor NPCs (Custom)]]|}}{{#ifeq:{{lc:{{{Misc NPC|false}}}}}|true|[[Category:Misc NPCs (Custom)]]|}}{{#ifeq:{{lc:{{{Quest|false}}}}}|true|[[Category:Quests (Custom)]]|}}{{#ifeq:{{lc:{{{Armor|false}}}}}|true|[[Category:Armor (Custom)]]|}}{{#ifeq:{{lc:{{{Clothing|false}}}}}|true|[[Category:Clothing (Custom)]]|}}{{#ifeq:{{lc:{{{Consumable|false}}}}}|true|[[Category:Consumables (Custom)]]|}}{{#ifeq:{{lc:{{{Jewelry|false}}}}}|true|[[Category:Jewelry (Custom)]]|}}{{#ifeq:{{lc:{{{Quest Item|false}}}}}|true|[[Category:Quest Items (Custom)]]|}}{{#ifeq:{{lc:{{{Text|false}}}}}|true|[[Category:Text Items (Custom)]]|}}{{#ifeq:{{lc:{{{Weapon|false}}}}}|true|[[Category:Weapons (Custom)]]|}}{{#ifeq:{{lc:{{{Misc Item|false}}}}}|true|[[Category:Misc Items (Custom)]]|}}</includeonly><noinclude> | {{#ifeq:{{lc:{{{Event|false}}}}}|true|[[Category:Events (Custom)]]|}}{{#ifeq:{{lc:{{{Creature|false}}}}}|true|[[Category:Creatures (Custom)]]|}}{{#ifeq:{{lc:{{{Dungeon|false}}}}}|true|[[Category:Dungeons (Custom)]]|}}{{#ifeq:{{lc:{{{POI|false}}}}}|true|[[Category:Points of Interest (Custom)]]|}}{{#ifeq:{{lc:{{{Quest NPC|false}}}}}|true|[[Category:Quest NPCs (Custom)]]|}}{{#ifeq:{{lc:{{{Vendor NPC|false}}}}}|true|[[Category:Vendor NPCs (Custom)]]|}}{{#ifeq:{{lc:{{{Misc NPC|false}}}}}|true|[[Category:Misc NPCs (Custom)]]|}}{{#ifeq:{{lc:{{{Quest|false}}}}}|true|[[Category:Quests (Custom)]]|}}{{#ifeq:{{lc:{{{Armor|false}}}}}|true|[[Category:Armor (Custom)]]|}}{{#ifeq:{{lc:{{{Clothing|false}}}}}|true|[[Category:Clothing (Custom)]]|}}{{#ifeq:{{lc:{{{Consumable|false}}}}}|true|[[Category:Consumables (Custom)]]|}}{{#ifeq:{{lc:{{{Jewelry|false}}}}}|true|[[Category:Jewelry (Custom)]]|}}{{#ifeq:{{lc:{{{Quest Item|false}}}}}|true|[[Category:Quest Items (Custom)]]|}}{{#ifeq:{{lc:{{{Text|false}}}}}|true|[[Category:Text Items (Custom)]]|}}{{#ifeq:{{lc:{{{Weapon|false}}}}}|true|[[Category:Weapons (Custom)]]|}}{{#ifeq:{{lc:{{{Misc Item|false}}}}}|true|[[Category:Misc Items (Custom)]]|}}{{#ifeq:{{lc:{{{Currency|false}}}}}|true|[[Category:Currency (Custom)]]|}}</includeonly><noinclude> | ||
== Syntax == | == Syntax == | ||
<pre> | <pre> | ||
Line 24: | Line 24: | ||
| Weapon = False | | Weapon = False | ||
| Misc Item = False | | Misc Item = False | ||
| Currency = False | |||
}} | }} | ||
</pre> | </pre> |
Latest revision as of 11:34, 6 March 2025
Syntax
{{Custom | Event = False | Creature = False | Dungeon = False | POI = False | Quest NPC = False | Vendor NPC = False | Misc NPC = False | Quest = False | Armor = False | Clothing = False | Consumable = False | Jewelry = False | Quest Item = False | Text = False | Weapon = False | Misc Item = False | Currency = False }}
Usage
This is placed on content pages that for custom content on Dragonmoon.
This template will create a banner at the top of the page, and categorize the page with the proper custom content categories, based on the flags you have set to true. If no flags are set to true, the banner will still appear. This banner appears as follows:
Custom Content This page is for custom content on Dragonmoon. |
This template can be shortened. For example, if marking a custom quest, you only need to add:
{{Custom|Quest=True}}