Template:Cite compare: Difference between revisions
Richardpruen (talk | contribs) m 1 revision imported |
imported>Trappist the monk |template= to alias |mode= so that cs1|2 |mode= parameter can be demo'd / tested; |
||
| Line 1: | Line 1: | ||
{| class="wikitable" | {| class="wikitable" | ||
|+{{#ifeq:{{lc:{{{mode}}}}}|citation|Citation |Cite {{{mode}}}}} comparison{{#if:{{{header|}}}| {{{header}}}}} | |+{{#ifeq:{{lc:{{{template|{{{mode}}}}}}}}|citation|Citation |Cite {{{template|{{{mode}}}}}}}} comparison{{#if:{{{header|}}}| {{{header}}}}} | ||
! scope="row" | Wikitext | ! scope="row" | Wikitext | ||
| {{#invoke:Template wrapper|list|_template={{#ifeq:{{lc:{{{mode}}}}}|citation|citation |cite {{{mode}}}}}|_exclude=old,mode,comment,nosandbox,header}} | | {{#invoke:Template wrapper|list|_template={{#ifeq:{{lc:{{{template|{{{mode}}}}}}}}|citation|citation |cite {{{template|{{{mode}}}}}}}}|_exclude=old, {{#if:{{{template|}}}||mode,}} template, comment,nosandbox,header}} | ||
{{#ifeq:{{{old|}}}|yes| | {{#ifeq:{{{old|}}}|yes| | ||
{{!}}- | {{!}}- | ||
! scope="row" {{!}} Old | ! scope="row" {{!}} Old | ||
{{!}} <includeonly>{{#invoke:Template wrapper|wrap|_template=cite {{{mode | {{!}} <includeonly>{{#invoke:Template wrapper|wrap|_template=cite {{{template|{{{mode}}}}}}/old|_exclude={{#if:{{{template|}}}||mode,}} template, comment,nosandbox,header,old }}</includeonly>}} | ||
|- | |- | ||
! scope="row" | Live | ! scope="row" | Live | ||
| <includeonly>{{#invoke:Template wrapper|wrap|_template=cite {{{mode | | <includeonly>{{#invoke:Template wrapper|wrap|_template=cite {{{template|{{{mode}}}}}}|_exclude={{#if:{{{template|}}}||mode,}} template, comment,nosandbox,header,old }}</includeonly>{{#if:{{{nosandbox|}}}||<nowiki/> | ||
{{!}}- | {{!}}- | ||
! scope="row" {{!}} Sandbox | ! scope="row" {{!}} Sandbox | ||
{{!}} class="cs1-sandbox" {{!}} <includeonly>{{#invoke:Template wrapper|wrap|_template=cite {{{mode | {{!}} class="cs1-sandbox" {{!}} <includeonly>{{#invoke:Template wrapper|wrap|_template=cite {{{template|{{{mode}}}}}}/new|_exclude={{#if:{{{template|}}}||mode,}} template, comment,nosandbox,header,old }}</includeonly>}}{{#if:{{{comment|}}}|<nowiki/> | ||
{{!}}- | {{!}}- | ||
{{!}} colspan="2" {{!}} {{{comment}}}}} | {{!}} colspan="2" {{!}} {{{comment}}}}} | ||