Difference between revisions of "Template:CelestialRef/ExtraSep"
Jump to navigation
Jump to search
imported>Robertinventor |
imported>Robertinventor |
||
| Line 1: | Line 1: | ||
<!-- | <!-- | ||
| − | diagnostics: | + | diagnostics: extrasepparam="{{{extrasepparam}}}", 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 | ||
| − | * Check for | + | * Check for extrasepparam, used to create new line or other |
* content before the extras such as bibliography, ids etc. | * content before the extras such as bibliography, ids etc. | ||
| − | * | + | * extrasepparam overrides radio and radio overrides newline |
* However, newline defaults to yes. So if no parameters set | * However, newline defaults to yes. So if no parameters set | ||
| Line 16: | Line 16: | ||
Links:" | Links:" | ||
| − | -->{{#ifeq:{{{ | + | -->{{#ifeq:{{{extrasepparam|}}}||<!-- |
| − | * Case | + | * Case extrasepparam blank |
* check radio= and newline= | * check radio= and newline= | ||
| Line 31: | Line 31: | ||
* case newline!=yes and radio!=yes | * case newline!=yes and radio!=yes | ||
| − | * and | + | * and extrasepparam not set |
----->|<!-- | ----->|<!-- | ||
---->}}<!-- ends newline? | ---->}}<!-- ends newline? | ||
--->}}<!-- ends radio? | --->}}<!-- ends radio? | ||
| − | * case | + | * case extrasepparam set |
| − | --->|{{{ | + | --->|{{{extrasepparam}}}<!-- |
-->}}<!-- ends extrasep? | -->}}<!-- ends extrasep? | ||
--> | --> | ||
Revision as of 12:14, 23 July 2013
.
- Links: