Template:Template

From 44Net Wiki
Revision as of 19:31, 4 April 2024 by K1YUU (talk | contribs) (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>{{...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template Explanation - Template

This template is to be used for explaining template pages.

Usage

{{Template|
NAME = Template Name|
SAMPLE = <nowiki>{{Your Template Here}}</nowiki>|
DESCRIPTION = Description of your template|
A1=arg1|
A1EXP=arg1}}

Arguments

  • NAME - The name of your template
NAME=Name of your template|
  • SAMPLE - Sample code for your template
SAMPLE=<nowiki>Sample code for your template</nowiki>|
  • ARGS - Number of arguments your template has
ARGS=10
  • Ax - Argument x's name. Use numbers starting from 1. e.g. A1, A2, A3 etc.
Note: You can use up to 15 arguments. If you want more, feel free to add more to the template.
Ax=Argument name
  • AxEXP - Explanation of how to use argument x.
AxEXP=Description of argument Ax