Template:Infobox mountain: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Frietjes
per talk page
meta>Technical 13
Per edit request on talk page. This version not only makes sure |name= exists, it checks to make sure it is not empty as well.
Line 1: Line 1:
{{infobox
{{Infobox
| child      = {{{child|}}}
| child      = {{{child|}}}
| bodyclass  = vcard
| bodyclass  = vcard
Line 6: Line 6:
| abovestyle  = background-color: #e7dcc3;
| abovestyle  = background-color: #e7dcc3;
| aboveclass  = fn org
| aboveclass  = fn org
| above      = {{ifempty
| above      = {{#ifeq:{{{name|}}}||<includeonly>{{Error|Mountain name required|tag=span}}<!--
                | {{{name|}}}
                   -->{{Main other|[[Category:Mountain articles requiring maintenance]]}}</includeonly>|{{{name}}}}}
                | <includeonly>{{error|Mountain name required|tag=span}}<!--
                   -->{{main other|[[Category:Mountain articles requiring maintenance]]}}</includeonly>}}
 
| headerstyle = background-color: #e7dcc3;
| headerstyle = background-color: #e7dcc3;
| labelstyle  = padding: 0.2em 0.4em 0.2em 0em; white-space: nowrap; vertical-align:text-bottom;
| labelstyle  = padding: 0.2em 0.4em 0.2em 0em; white-space: nowrap; vertical-align:text-bottom;

Revision as of 05:27, 27 December 2014

Template:Ifempty
CoordinatesTemplate:IfemptyTemplate:Ifempty
Template:Ifempty