Template talk:DungeonItem: Difference between revisions
(→TM: new section) |
(→Item name change request: new section) |
||
Line 64: | Line 64: | ||
{{DungeonItem|Brick Break|TM31|??|sprite=MDBag TM Sprite}} | {{DungeonItem|Brick Break|TM31|??|sprite=MDBag TM Sprite}} | ||
|} | |} | ||
== Item name change request == | |||
Since the template is locked, could someone who can edit it change the <code>MDBag Looplet Sprite.png</code> image link to <code>MDBag Looplet VI Sprite.png</code>, where the image is actually uploaded? [[User:Schiffy|<span style="color:#006400;">I don't even give a Schif</span>]] ([[User talk:Schiffy|<span style="color:#FF6600;">Talk</span>]] • [[Special:Contributions/Schiffy|<span style="color:#FF0000;">Contribs</span>]]) 23:11, 11 August 2016 (UTC) |
Revision as of 23:11, 11 August 2016
How to use
Coding
First call the header, which uses two parameters: 1 (background color) and text (text color)
{{DungeonItem/h|<background color, uses color templates>|text=<only if needed; put hex code for text color>}}
For each entry there are five parameters: 1 (item name), 2 (article location, optional: leave out if the same as 1), 3 (floors), 4 (bundle size, for stacks of items) and sprite (image location if not at MDBag <1> sprite.png, use "None" if no image.)
If an item with image and own article: {{DungeonItem|<item name>|3=<floors; put like so: 1F-10F>}} If an item with no image but an article: {{DungeonItem|<item name>|sprite=None|3=<floors; put like so: 1F-10F>}} If an item with no individual article and no individual picture: {{DungeonItem|<item name>|<main article>|<floors; put like so: 1F-10F>|sprite=<image location>}} If an item with no individual article and no image: {{DungeonItem|<item name>|<main article>|<floors; put like so: 1F-10F>|sprite=None}}
At the end of the table, place the table closing code:
|}
Example
Ragged Mountain
Item | Floors | |
---|---|---|
34-49 Poké | 1F-5F | |
Oran Berry | ??F | |
Aspear Berry | ??F | |
Chesto Berry | ??F | |
Escape Orb | ??F | |
Blast Seed | ??F | |
Shiny Box | ??F | |
Heavy Box | ??F |
Stony Cave
Item | Floors | |
---|---|---|
30-57 Poké | B1F-B5F | |
Oran Berry | ??F | |
Aspear Berry | ??F | |
Chesto Berry | ??F | |
Pecha Berry | ??F | |
Escape Orb | ??F | |
Health Orb | ??F | |
Everyone's Strength Orb | ??F | |
Rollcall Orb | ??F | |
Shiny Box | ??F | |
Sinister Box | ??F | |
Zinc Band | ??F | |
Heal Seed | ??F | |
Max Elixir | ??F |
Scarves
As the page is located at Scarf (Mystery Dungeon), can a work-around be put into the template? It would take a lot of coding for each individual item on the dungeon pages. --Abcboy (talk) 00:17, 23 December 2012 (UTC)
- There's already a parameter for article title. I don't want to add a switch to shorten that because it'll negatively affect the template's performance, increasing the load on the servers. Werdnae (talk) 02:30, 23 December 2012 (UTC)
TM
What should I do about TM links in this template I have seen two different sollutions {{DungeonItem|TM Roost|TM}} and {{DungeonItem|Brick Break|TM31|??|sprite=MDBag TM Sprite}}
Which one should I use? --Raltseye (talk) 09:50, 13 June 2015 (UTC)
Item | Floors | |
---|---|---|
TM Roost | ??F | |
Brick Break | ??F |
Item name change request
Since the template is locked, could someone who can edit it change the MDBag Looplet Sprite.png
image link to MDBag Looplet VI Sprite.png
, where the image is actually uploaded? I don't even give a Schif (Talk • Contribs) 23:11, 11 August 2016 (UTC)