Template talk:Itlistbod: Difference between revisions
m (→Colosseum) |
m (Text replacement - ":Chosen" to ":Coffee") |
||
Line 30: | Line 30: | ||
== Suggestion - New Parameter: "sprite" == | == Suggestion - New Parameter: "sprite" == | ||
If someone could add a "sprite" parameter over <nowiki>[[File:Bag {{{1|Potion}}} Sprite.png]]</nowiki>, we could add things like the [[a:File:WailmerDollSprite.png|Wailmer Doll]] in the items table of [[Sootopolis City]], and the [[a:File:Prop Electric Guitar Sprite.png|Electric Guitar]] found on [[Unova Route 5]]. - ''[[User: | If someone could add a "sprite" parameter over <nowiki>[[File:Bag {{{1|Potion}}} Sprite.png]]</nowiki>, we could add things like the [[a:File:WailmerDollSprite.png|Wailmer Doll]] in the items table of [[Sootopolis City]], and the [[a:File:Prop Electric Guitar Sprite.png|Electric Guitar]] found on [[Unova Route 5]]. - ''[[User:Coffee|<span style="color:#F85888">Chosen</span>]] <span style="color:#6890F0">of</span> [[User talk:Coffee|<span style="color:#F8D030">Mana</span>]]'' 15:35, 24 May 2011 (UTC) | ||
:Done. —'''<span style="font-family:Verdana"><span style="color:#000">darklord</span>[[User talk:The dark lord trombonator|<span style="color:#0047AB">trom</span>]]</span>''' 07:57, 25 May 2011 (UTC) | :Done. —'''<span style="font-family:Verdana"><span style="color:#000">darklord</span>[[User talk:The dark lord trombonator|<span style="color:#0047AB">trom</span>]]</span>''' 07:57, 25 May 2011 (UTC) | ||
== Colosseum == | == Colosseum == | ||
The "<nowiki>{{GameIcon|colo}}</nowiki>" part of this template is entered incorrectly; The C should be capitalized, like this: "<nowiki>{{GameIcon|Colo}}</nowiki>". - ''[[User: | The "<nowiki>{{GameIcon|colo}}</nowiki>" part of this template is entered incorrectly; The C should be capitalized, like this: "<nowiki>{{GameIcon|Colo}}</nowiki>". - ''[[User:Coffee|<span style="color:#F85888">Chosen</span>]] <span style="color:#6890F0">of</span> [[User talk:Coffee|<span style="color:#F8D030">Mana</span>]]'' 00:39, 31 October 2011 (UTC) | ||
:Fixed. <span class="sc">[[User:Werdnae|<span style="color:#2D4B98;">Werdnae</span>]]</span> <small>[[User talk:Werdnae|<span style="color:#009000;">(talk)</span>]]</small> 01:12, 31 October 2011 (UTC) | :Fixed. <span class="sc">[[User:Werdnae|<span style="color:#2D4B98;">Werdnae</span>]]</span> <small>[[User talk:Werdnae|<span style="color:#009000;">(talk)</span>]]</small> 01:12, 31 October 2011 (UTC) |
Latest revision as of 02:12, 7 May 2024
This needs to have an option for CHGSS.
However, if it is acceptable, I'd like to code up a simpler version which doesn't require pre-programmed combinations. However, you'd end up having to change it wherever the combinations are used.KrytenKoro 02:07, 20 May 2010 (UTC)
Okay, if you replace the template with this code (or create an "Itlistbod2" to keep the older one functioning while you switch it out), it will work exactly the same.
<noinclude>{|</noinclude> |- style="background: #FFFFFF;" | align="center" | [[Image:Bag {{{1|Potion}}} Sprite.png]] | align="center" | {{{display|[[{{{1|Potion}}}]]}}} | align="left" | {{{2|Old Man}}} | align="center" | '''{{GameIcon|{{{3|}}}}}{{#if:{{{4|}}}}}|{{GameIcon|{{{4|}}}}}}}{{#if:{{{5|}}}}}|{{GameIcon|{{{5|}}}}}}}{{#if:{{{6|}}}}}|<br>{{GameIcon|{{{6|}}}}}}}{{#if:{{{7|}}}}}|{{GameIcon|{{{7|}}}}}}}''' <noinclude>|} [[Category:Table templates]]</noinclude>
The usage is like this:
- Old template
- {{Itlistbod|Miracle Seed|From the man who previously blocked the player's path|GSCHGSS|display={{DL|Type-enhancing item|Miracle Seed}}}}
- New template
- {{Itlistbod|Miracle Seed|From the man who previously blocked the player's path|G|S|C|HG|SS|display={{DL|Type-enhancing item|Miracle Seed}}}}
It accepts up to five inputs, but it's easy to expand that if needed. It accepts any combination of "R", "B", "Y", "G", "S", "C", "Ru", "Sa", "Em", E", "FR", "LG", "D", "P", "Pt", "HG", "SS", and "XD" as inputs, though the options can be expanded by adding more options to Template:GameIcon.KrytenKoro 02:30, 20 May 2010 (UTC)
- The preprogrammed combinations are simple to change... however, I agree, it'd be better to have a template handle the actual boxes. Removes a lot of coding over here. TTEchidna 23:02, 23 May 2010 (UTC)
- If this format is going to stay, then we at least need CHGSS added.KrytenKoro 02:41, 24 May 2010 (UTC)
- CHGSS is added and this template has been condensed with the help of GameIcon (now protected as it's in use on over 300 pages). —darklordtrom 07:40, 24 May 2010 (UTC)
- If this format is going to stay, then we at least need CHGSS added.KrytenKoro 02:41, 24 May 2010 (UTC)
- Thanks!KrytenKoro 18:55, 24 May 2010 (UTC)
Suggestion - New Parameter: "sprite"
If someone could add a "sprite" parameter over [[File:Bag {{{1|Potion}}} Sprite.png]], we could add things like the Wailmer Doll in the items table of Sootopolis City, and the Electric Guitar found on Unova Route 5. - Chosen of Mana 15:35, 24 May 2011 (UTC)
- Done. —darklordtrom 07:57, 25 May 2011 (UTC)
Colosseum
The "{{GameIcon|colo}}" part of this template is entered incorrectly; The C should be capitalized, like this: "{{GameIcon|Colo}}". - Chosen of Mana 00:39, 31 October 2011 (UTC)