Difference between revisions of "Template:Missing/world"

From The Coppermind
Jump to navigation Jump to search
m (→‎Users: modern)
m (update best practices)
Line 5: Line 5:
 
For standardization purposes, use the following segments in each relevant infobox template:
 
For standardization purposes, use the following segments in each relevant infobox template:
 
<pre class=mw-code>
 
<pre class=mw-code>
<!-- world & universe -->
 
{{#if:{{{earth|}}} |{{row/kv| World |[[Earth ({{{earth}}})]]<!-- -->}}|}}
 
{{#if:{{{world|}}} |{{row/kv| World |[[{{{world}}}]]<!-- -->}}|}}
 
{{#if:{{{'world|}}} |{{row/kv| World |{{{'world}}}{{raw/world}}<!-- -->}}|}}
 
{{#if:{{{universe|}}} |{{row/kv| Universe |{{{universe}}}<!-- -->}}|}}
 
</pre>
 
   
  +
<!-- location -->
<pre class=mw-code>
 
 
{{#if:{{{earth|}}} |{{row/kv| World | [[Earth ({{{earth}}})]] }} {{info/earth}} }}
-->{{#if:<!--
 
-->{{{earth|}}}<!-- -->{{{world|}}}<!-- -->{{{'world|}}}<!-- -->{{{universe|}}}<!--
+
{{#if:{{{world|}}} |{{row/kv| World | [[{{{world}}}]] }} {{info/world}} }}
 
{{#if:{{{'world|}}} |{{row/kv| World | {{{'world}}} }} {{raw/world}} }}
-->||{{infobox/no-world}}<!--
 
 
{{#if:{{{universe|}}} |{{row/kv| Universe | {{{universe}}} }} {{info/universe}} }}
-->}}<!--
 
  +
  +
{{#if:<!-- -->{{{earth|}}}<!-- -->{{{world|}}}<!-- -->{{{world-raw|}}}<!-- -->{{{universe|}}}<!--
  +
---->|<!-- there is a location row present
 
---->|{{infobox/no-world}}<!-- tag with missing world-location
 
-->}}
  +
 
</pre>
 
</pre>
   

Revision as of 20:24, 20 April 2020


Template for showing when a {{infobox}} doesn't mention a world.

For standardization purposes, use the following segments in each relevant infobox template:


<!-- location -->
{{#if:{{{earth|}}}       |{{row/kv| World       | [[Earth ({{{earth}}})]]  }} {{info/earth}}                   }}
{{#if:{{{world|}}}       |{{row/kv| World       | [[{{{world}}}]]          }} {{info/world}}                   }}
{{#if:{{{'world|}}}      |{{row/kv| World       | {{{'world}}}             }} {{raw/world}}                    }}
{{#if:{{{universe|}}}    |{{row/kv| Universe    | {{{universe}}}           }} {{info/universe}}                }}

{{#if:<!-- -->{{{earth|}}}<!-- -->{{{world|}}}<!-- -->{{{world-raw|}}}<!-- -->{{{universe|}}}<!--
---->|<!-- there is a location row present
---->|{{infobox/no-world}}<!-- tag with missing world-location
-->}}

Articles using Template