T: Difference between revisions
/>Dinoguy1000-fduser add a bit of padding between the brackets and the template name, and around the pipes if extra parameters are given |
/>Dinoguy1000-fduser use <var> instead of <span> + italics |
||
Line 1: | Line 1: | ||
{{ #if: {{{style|}}} | <code> }}<nowiki>{{</nowiki><span style="padding: 0 0.1em;">{{ #if: {{{prefix|}}} | {{{prefix}}}: }}[[{{ #ifeq: {{ #sub: {{{1}}} | 0 | 1 }} | : || {{ #if: {{NAMESPACE:{{{1}}}}} || {{ns:10}} }} }}:{{{1}}}|{{ #ifeq: {{ #sub: {{{1}}} | 0 | 1 }} | : | : }}{{ #ifeq: {{NAMESPACE:{{{1}}}}} | {{ns:10}} | {{PAGENAME:{{{1}}}}} | {{{1}}} }}]]</span>{{ #if: {{{2 | {{ #if: {{{style|}}} | <code> }}<nowiki>{{</nowiki><span style="padding: 0 0.1em;">{{ #if: {{{prefix|}}} | {{{prefix}}}: }}[[{{ #ifeq: {{ #sub: {{{1}}} | 0 | 1 }} | : || {{ #if: {{NAMESPACE:{{{1}}}}} || {{ns:10}} }} }}:{{{1}}}|{{ #ifeq: {{ #sub: {{{1}}} | 0 | 1 }} | : | : }}{{ #ifeq: {{NAMESPACE:{{{1}}}}} | {{ns:10}} | {{PAGENAME:{{{1}}}}} | {{{1}}} }}]]</span>{{ #if: {{{2}}} | ||
| |< | | |<var style="padding: 0 0.2em; color: gray;">{{{2}}}</var> }}{{ #if: {{{3|}}} | ||
| |< | | |<var style="padding: 0 0.2em; color: gray;">{{{3}}}</var> }}{{ #if: {{{4|}}} | ||
| |< | | |<var style="padding: 0 0.2em; color: gray;">{{{4}}}</var> }}{{ #if: {{{5|}}} | ||
| |< | | |<var style="padding: 0 0.2em; color: gray;">{{{5}}}</var> }}{{ #if: {{{6|}}} | ||
| |< | | |<var style="padding: 0 0.2em; color: gray;">{{{6}}}</var> }}{{ #if: {{{7|}}} | ||
| |< | | |<var style="padding: 0 0.2em; color: gray;">{{{7}}}</var> }}{{ #if: {{{8|}}} | ||
| |< | | |<var style="padding: 0 0.2em; color: gray;">{{{8}}}</var> }}{{ #if: {{{9|}}} | ||
| |< | | |<var style="padding: 0 0.2em; color: gray;">{{{9}}}</var> }}{{ #if: {{{10|}}} | ||
| |< | | |<var style="padding: 0 0.2em; color: gray;">{{{10}}}</var> }}{{ #if: {{{11|}}} | ||
| |< | | |<var style="padding: 0 0.2em; color: gray;">{{{11}}}</var> }}{{ #if: {{{12|}}} | ||
| |< | | |<var style="padding: 0 0.2em; color: gray;">{{{12}}}</var> }}{{ #if: {{{13|}}} | ||
| |< | | |<var style="padding: 0 0.2em; color: gray;">{{{13}}}</var> }}{{ #if: {{{14|}}} | ||
| |< | | |<var style="padding: 0 0.2em; color: gray;">{{{14}}}</var> }}{{ #if: {{{15|}}} | ||
| |< | | |<var style="padding: 0 0.2em; color: gray;">{{{15}}}</var> }}{{ #if: {{{16|}}} | ||
| |< | | |<var style="padding: 0 0.2em; color: gray;">{{{16}}}</var> }}{{ #if: {{{17|}}} | ||
| |< | | |<var style="padding: 0 0.2em; color: gray;">{{{17}}}</var> }}{{ #if: {{{18|}}} | ||
| |< | | |<var style="padding: 0 0.2em; color: gray;">{{{18}}}</var> }}{{ #if: {{{19|}}} | ||
| |< | | |<var style="padding: 0 0.2em; color: gray;">{{{19}}}</var> }}{{ #if: {{{20|}}} | ||
| |< | | |<var style="padding: 0 0.2em; color: gray;">{{{20}}}</var> }}{{ #if: {{{21|}}} | ||
| |< | | |<var style="padding: 0 0.2em; color: gray;">{{{21}}}</var> }}<nowiki>}}</nowiki>{{ #if: {{{style|}}} | </code> }}<noinclude>{{documentation}}</noinclude> |
Revision as of 11:49, 22 February 2017
{{ #if: | }}{{{{ #if: | {{{prefix}}}: }}[[{{ #ifeq: {{ #sub: {{{1}}} | 0 | 1 }} | : || {{ #if: || Template }} }}:{{{1}}}|{{ #ifeq: {{ #sub: {{{1}}} | 0 | 1 }} | : | : }}{{ #ifeq: | Template | | {{{1}}} }}]]{{ #if: {{{2}}}
| |{{{2}}} }}{{ #if:
| |{{{3}}} }}{{ #if:
| |{{{4}}} }}{{ #if:
| |{{{5}}} }}{{ #if:
| |{{{6}}} }}{{ #if:
| |{{{7}}} }}{{ #if:
| |{{{8}}} }}{{ #if:
| |{{{9}}} }}{{ #if:
| |{{{10}}} }}{{ #if:
| |{{{11}}} }}{{ #if:
| |{{{12}}} }}{{ #if:
| |{{{13}}} }}{{ #if:
| |{{{14}}} }}{{ #if:
| |{{{15}}} }}{{ #if:
| |{{{16}}} }}{{ #if:
| |{{{17}}} }}{{ #if:
| |{{{18}}} }}{{ #if:
| |{{{19}}} }}{{ #if:
| |{{{20}}} }}{{ #if:
| |{{{21}}} }}}}{{ #if: |
}}Template:Documentation