Template:Block: Difference between revisions
m (Test) |
m (Test) |
||
Line 5: | Line 5: | ||
{{#if:{{{2|}}} <!-- If there's a second parameter (format at link)--> | {{#if:{{{2|}}} <!-- If there's a second parameter (format at link)--> | ||
|{{#ifeq:{{{1}}}|l <!-- If the link would just be "l" (shorthand for use the same name)--> | |{{#ifeq:{{{1}}}|l <!-- If the link would just be "l" (shorthand for use the same name)--> | ||
| | |<code>[[{{{2}}}]]</code> | ||
| | |<code>[[{{{2}}}|{{{1}}}]]</code> | ||
|}} | |}} | ||
|<code>{{{1}}}</code> <!-- Return the name in code blocks --> | |<code>{{{1}}}</code> <!-- Return the name in code blocks --> | ||
|}} | |}} |
Revision as of 20:16, 9 August 2022
{{{1}}}
{{{2}}}
{{{1}}}