• 欢迎来到Minecraft插件百科!
  • 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
  • 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289

模板:Template

来自Minecraft插件百科
跳转至: 导航搜索
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.
文件:Lightbulb.png 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