Template:Template: Difference between revisions
Jump to navigation
Jump to search
Created page with "<includeonly>__NOTOC__<!--WARNING! This includeonly code, when run without any arguments *will* throw a lot of errors.-->{{Box| BORDER = #8898bf| BACKGROUND = #a8d3ff| WIDTH = 100%| ICON =| HEADING = Template Explanation - {{{NAME}}}| CONTENT = {{{DESCRIPTION}}} ==Usage== {{{SAMPLE}}} ==Arguments== {{#ifexpr: {{{ARGS}}} = 0|''There are no arguments for this template''|{{#ifexpr: {{{ARGS}}} >= 1|*<code>{{{A1}}}</code> - {{{A1EXP}}}}} {{#ifexpr: {{{ARGS}}} >= 2|*<code>{{..." |
m More prettying |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>__NOTOC__<!--WARNING! This includeonly code, when run without any arguments *will* throw a lot of errors.-->{{Box| | <includeonly>__NOTOC__<!--WARNING! This includeonly code, when run without any arguments *will* throw a lot of errors.--> | ||
{{Box| | |||
BORDER = #8898bf| | BORDER = #8898bf| | ||
BACKGROUND = #a8d3ff| | BACKGROUND = #a8d3ff| | ||
WIDTH = 100%| | WIDTH = 100%| | ||
ICON =| | ICON =| | ||
HEADING = Template Explanation - {{{NAME}}}| | HEADING = Template Explanation - {{{NAME}}} | | ||
CONTENT = | CONTENT = | ||
{{{DESCRIPTION}}} | {{{DESCRIPTION}}} | ||
Line 10: | Line 11: | ||
{{{SAMPLE}}} | {{{SAMPLE}}} | ||
==Arguments== | ==Arguments== | ||
{{{ ARGS }}} | |||
}} | |||
</includeonly> | |||
<noinclude>{{Template| | |||
NAME = {{BASEPAGENAME}}| | NAME = {{BASEPAGENAME}}| | ||
SAMPLE = <nowiki>{{Template| | SAMPLE = <nowiki>{{Template| | ||
NAME = Template Name| | NAME = Template Name| | ||
SAMPLE = </nowiki><<nowiki>nowiki>{{</nowiki>''Your Template Here''<nowiki>}}</nowiki></nowiki><nowiki>| | SAMPLE = </nowiki><<nowiki>nowiki>{{</nowiki>''Your Template Here''<nowiki>}}</nowiki></nowiki><nowiki> | | ||
DESCRIPTION = Description of your template| | DESCRIPTION = Description of your template| | ||
A1=arg1| | A1=arg1| | ||
A1EXP=arg1}}</nowiki>| | A1EXP=arg1}}</nowiki>| | ||
DESCRIPTION=This template is to be used for explaining template pages.| | DESCRIPTION=This template is to be used for explaining template pages.| | ||
ARGS = 5 | ARGS = 5 | ||
}} | }} | ||
</noinclude> | </noinclude> |
Latest revision as of 19:41, 4 April 2024
Template Explanation - Template
|