Difference between revisions of "Template:Missing/world"

From The Coppermind
Jump to navigation Jump to search
m
m
Line 8: Line 8:
 
{{#if:{{{earth|}}} |{{row/kv| World |[[Earth ({{{earth}}})]]<!-- -->}}|}}
 
{{#if:{{{earth|}}} |{{row/kv| World |[[Earth ({{{earth}}})]]<!-- -->}}|}}
 
{{#if:{{{world|}}} |{{row/kv| World |[[{{{world}}}]]<!-- -->}}|}}
 
{{#if:{{{world|}}} |{{row/kv| World |[[{{{world}}}]]<!-- -->}}|}}
{{#if:{{{world-raw|}}} |{{row/kv| World |{{{world-raw}}}{{raw/world}}<!-- -->}}|}}
+
{{#if:{{{'world|}}} |{{row/kv| World |{{{'world}}}{{raw/world}}<!-- -->}}|}}
 
{{#if:{{{universe|}}} |{{row/kv| Universe |{{{universe}}}<!-- -->}}|}}
 
{{#if:{{{universe|}}} |{{row/kv| Universe |{{{universe}}}<!-- -->}}|}}
 
</pre>
 
</pre>
Line 14: Line 14:
 
<pre class=mw-code>
 
<pre class=mw-code>
 
-->{{#if:<!--
 
-->{{#if:<!--
-->{{{earth|}}}<!-- -->{{{world|}}}<!-- -->{{{world-raw|}}}<!-- -->{{{raw-world|}}}<!-- -->{{{universe|}}}<!--
+
-->{{{earth|}}}<!-- -->{{{world|}}}<!-- -->{{{'world|}}}<!-- -->{{{world-raw|}}}<!-- -->{{{raw-world|}}}<!-- -->{{{universe|}}}<!--
 
-->||{{infobox/no-world}}<!--
 
-->||{{infobox/no-world}}<!--
 
-->}}<!--
 
-->}}<!--
 
</pre>
 
</pre>
  +
  +
Note that <code>raw-world</code> and <code>world-raw</code> are there for legacy support; <code>'world</code> is the current official way of bypassing automatic linking.
   
 
== Users ==
 
== Users ==

Revision as of 20:36, 19 April 2019


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

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

<!-- 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}}}<!--                      -->}}|}}
-->{{#if:<!--
  -->{{{earth|}}}<!-- -->{{{world|}}}<!-- -->{{{'world|}}}<!-- -->{{{world-raw|}}}<!-- -->{{{raw-world|}}}<!-- -->{{{universe|}}}<!--
    -->||{{infobox/no-world}}<!--
-->}}<!--

Note that raw-world and world-raw are there for legacy support; 'world is the current official way of bypassing automatic linking.

Users