Difference between revisions of "User:Alec/BookTemplate/ReferenceTemplate"
From Maths
< User:Alec | BookTemplate
m |
m (Cleaning up output format) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{#if:{{{ | + | {{#if:{{{refName|k}}}<!-- |
− | + | refName is defined: | |
− | -->|{{#if:{{{ | + | -->|{{#if:{{{refGroup|}}}<!-- |
− | + | refGroup is defined | |
− | -->|{{#tag:ref| | + | -->|{{#tag:ref|refName defined: {{{refName|}}}<br/>refGroup defined: {{{refGroup|}}}<br/>Content:<hr/>{{{content|''(no content)''}}}|group={{{refGroup}}}|name={{{refName}}}}}<!-- |
− | + | refGroup isn't defined | |
− | -->|{{#tag:ref| | + | -->|{{#tag:ref|{{{content|{{Template error|msg=No content for reference!}}}}}|name={{{refName}}}}}<!-- |
− | End of "if | + | End of "if refGroup" defined |
-->}}<!-- | -->}}<!-- | ||
− | + | refName isn't defined | |
− | -->|{{#if:{{{ | + | -->|{{#if:{{{refGroup|}}}<!-- |
− | If | + | If refGroup is defined |
-->|<span style="font-size:1.2em;color:#FF0000;">Anonymous references with groups are not supported yet! (Is there any point?)</span><!-- | -->|<span style="font-size:1.2em;color:#FF0000;">Anonymous references with groups are not supported yet! (Is there any point?)</span><!-- | ||
− | If | + | If refGroup is not defined |
− | -->|{{#tag:ref|(Anonymous ref tag)<br/>Content:<hr/>{{{ | + | -->|{{#tag:ref|(Anonymous ref tag)<br/>Content:<hr/>{{{content|''(no content)''}}}}}<!-- |
− | End of if | + | End of if refGroup |
-->}}<!-- | -->}}<!-- | ||
Latest revision as of 21:34, 30 July 2016
References
- ↑ No content for reference!