Template:TemplateCode: Difference between revisions
Created page with "<includeonly><code>{<!-- -->{{{{1}}}{{#if: {{{2|}}}|{{!}}{{{2|}}} }}{{#if: {{{3|}}}|{{!}}{{{3|}}} }}{{#if: {{{4|}}}|{{!}}{{{4|}}} }}{{#if: {{{5|}}}|{{!}}{{{5|}}} }}{{#if: {{{6|}}}|{{!}}{{{6}}}{{#if: {{{7|}}}|{{!}}{{{7|}}} }}{{#if: {{{8|}}}|{{!}}{{{8|}}} }} }}<!-- -->}<!-- -->}</code></includeonly><noinclude> === Documentation === {{shortcut|tcode}} == Usage == {{TemplateCode|tcode|''template name''}} Parameters can also be added, to a maximum of 8. Note that <code>=</..." |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly><code>{<!-- -->{{{{1}}}{{#if: {{{2|}}}|{{!}}{{{2|}}} }}{{#if: {{{3|}}}|{{!}}{{{3|}}} }}{{#if: {{{4|}}}|{{!}}{{{4|}}} }}{{#if: {{{5|}}}|{{!}}{{{5|}}} }}{{#if: {{{6|}}}|{{!}}{{{6}}}{{#if: {{{7|}}}|{{!}}{{{7|}}} }}{{#if: {{{8|}}}|{{!}}{{{8|}}} }} }}<!-- -->}<!-- -->}</code></includeonly><noinclude> | <includeonly><code>{<!-- -->{{{{1}}}{{#if: {{{2|}}}|{{!}}{{{2|}}} }}{{#if: {{{3|}}}|{{!}}{{{3|}}} }}{{#if: {{{4|}}}|{{!}}{{{4|}}} }}{{#if: {{{5|}}}|{{!}}{{{5|}}} }}{{#if: {{{6|}}}|{{!}}{{{6}}}{{#if: {{{7|}}}|{{!}}{{{7|}}} }}{{#if: {{{8|}}}|{{!}}{{{8|}}} }} }}<!-- -->}<!-- -->}</code></includeonly><noinclude> | ||
=== Documentation === | === Documentation === | ||
{{shortcut|tcode}} | {{shortcut|tcode}} | ||
The template displays the working formula of a template as code. | |||
== Usage == | == Usage == | ||
{{TemplateCode|tcode|''template name''}} | {{TemplateCode|tcode|''template name''}} | ||
Parameters can also be added, to a maximum of 8. | Parameters can also be added, to a maximum of 8. | ||
== Examples == | == Examples == | ||
{{tcode|tcode| | {{tcode|tcode|fullurl|Items}} gives: {{tcode|fullurl|Items}} | ||
{{tcode| | |||
{{tcode|tcode|Item|3=2=type=wood}} gives: {{tcode|Item|2=type=wood}} | |||
{{tcode|tcode| | {{tcode|tcode|:Commands/seed}} gives: {{tcode|:Commands/seed}} | ||
{{tcode| | |||
{{tcode|tcode|move|Page to move to|Optional reason}} gives: | {{tcode|tcode|move|Page to move to|Optional reason}} gives: {{tcode|move|Page to move to|Optional reason}} | ||
{{tcode|move|Page to move to|Optional reason}} | |||
== See also == | == See also == | ||