Template:Dungeon infobox: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
mNo edit summary |
(Add nocat functionality. Make world map section display a message that it needs an image, if the field "map" is empty (meaning the image does not yet exist).) |
||
Line 7: | Line 7: | ||
| <small><span lang="ja">'''{{{jname|???}}}'''</span></small><br><small>''{{{jtrans|Unknown}}}''</small> | | <small><span lang="ja">'''{{{jname|???}}}'''</span></small><br><small>''{{{jtrans|Unknown}}}''</small> | ||
|- | |- | ||
| colspan="2" class="roundy" style="background: #FFF" | {{#if: {{{image|}}}|[[File:{{{image}}}|{{{size|240px}}}]]|Please upload an image of this dungeon. <includeonly>[[Category:Dungeons in need of images]]</includeonly>}} | | colspan="2" class="roundy" style="background: #FFF" | {{#if: {{{image|}}}|[[File:{{{image}}}|{{{size|240px}}}]]|Please upload an image of this dungeon. <includeonly>{{#if:{{{nocat|}}}||[[Category:Dungeons in need of images]]}}</includeonly>}} | ||
|} | |} | ||
|- | |- | ||
Line 60: | Line 60: | ||
| colspan="3" class="roundybr" style="text-align:left; background: #FFF" | {{{teamsize}}} | | colspan="3" class="roundybr" style="text-align:left; background: #FFF" | {{{teamsize}}} | ||
|} | |} | ||
|- | |- | ||
| | | | ||
{| width="100%" class="roundy" style="border-collapse:collapse" | {| width="100%" class="roundy" style="border-collapse:collapse" | ||
Line 69: | Line 69: | ||
| width="2%" | | | width="2%" | | ||
|- | |- | ||
| colspan="6" width="90px" class="roundy" style="text-align: | | colspan="6" width="90px" class="roundy" style="text-align:center; background: #{{{{{colorscheme|MD Red}}} color light}}; border-bottom: 1px solid #{{{{{colorscheme|MD Red}}} color}}" | {{#if:{{{map|}}}|[[File:{{{name|}}} Map.png|400px|center]]|Please upload a world map highlighting this dungeon's location.<includeonly>{{#if:{{{nocat|}}}||[[Category:Dungeons in need of images]]}}</includeonly>}} | ||
|} | |} | ||
|} | |} | ||
<noinclude>[[Category:Infobox templates]]</noinclude><includeonly>[[Category:Mystery dungeons]]</includeonly><noinclude> | <noinclude>[[Category:Infobox templates]]</noinclude><includeonly>{{#if:{{{nocat|}}}||[[Category:Mystery dungeons]]}}</includeonly><noinclude> | ||
[[de:Vorlage:Dungeon Infobox]] | [[de:Vorlage:Dungeon Infobox]] | ||
[[fr:Modèle:Infobox Donjon]] | [[fr:Modèle:Infobox Donjon]] |
Revision as of 19:34, 23 July 2024
| ||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||
|