Difference between revisions of "Template:CelestialRef/ExtraSep"

From blackwiki
Jump to navigation Jump to search
imported>Robertinventor
imported>Robertinventor
(last few edits: Removed the Links: not needed for new coding of Extras leaves out first dash in line)
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<!--
 
<!--
 
+
diagnostics: extrasep="{{{extrasep}}}", radio="{{{radio}}}", newline="{{{newline}}}"
 +
 
* Done as separate template so doesn't have to be inlined twice
 
* Done as separate template so doesn't have to be inlined twice
 
* and for easy independent editing and testing
 
* and for easy independent editing and testing
Line 8: Line 9:
 
* extrasep overrides radio and radio overrides newline
 
* extrasep overrides radio and radio overrides newline
  
-->{{#ifeq:{{{extrasep|ExtraSepNotSet}}}|ExtraSepNotSet|<!--  
+
* However, newline defaults to yes. So if no parameters set
 +
* should behave like newline
 +
 
 +
Default of newline outputs:
 +
".
 +
:"
 +
 
 +
-->{{#ifeq:{{{extrasep|}}}||<!--  
  
* Case extrasep not set
+
* Case extrasepblank
  
 
* check radio= and newline=
 
* check radio= and newline=
 
--->{{#ifeq:{{{radio|}}}|yes|<!--  
 
--->{{#ifeq:{{{radio|}}}|yes|<!--  
 +
 +
* radio
 
---->.
 
---->.
:* Links:<!--  
+
:* <!--  
 
   
 
   
 
* case radio!=yes
 
* case radio!=yes
 
---->|{{#ifeq:{{{newline|yes}}}|yes|<!--  
 
---->|{{#ifeq:{{{newline|yes}}}|yes|<!--  
 +
 +
* newline
 
----->.
 
----->.
: Links:<!--  
+
: <!--  
  
 
* case newline!=yes and radio!=yes
 
* case newline!=yes and radio!=yes
----->|{{{extrasep|}}}<!--  
+
* and extrasep not set
 +
----->|<!--  
 
---->}}<!-- ends newline?
 
---->}}<!-- ends newline?
 
--->}}<!--  ends radio?
 
--->}}<!--  ends radio?
  
 
* case extrasep set
 
* case extrasep set
--->|{{{extrasep|}}}<!--  
+
--->|{{{extrasep}}}<!--  
 
-->}}<!--  ends extrasep?
 
-->}}<!--  ends extrasep?
 
-->
 
-->

Latest revision as of 05:58, 24 July 2013

.