×
Create a new article
Write your page title here:
We currently have 2,829 articles on YumeWiki. Type your article name above or click on one of the titles below and start writing!



    YumeWiki
    2,829Articles

    Template:Documentation/preload: Difference between revisions

    (change category to lowercase to fit in line with other editing categories)
    (remove syntax header, info can be put under usages)
     
    Line 1: Line 1:
    <includeonly><!</includeonly>-- This preload is based off the original documentation template's own documentation. You do not have to follow it exactly. --<includeonly>></includeonly>
    <includeonly><!</includeonly>-- This preload is based off the original documentation template's own documentation. You do not have to follow it exactly. --<includeonly>></includeonly>
    ==Description==
    ==Description==
    <!--Short summary of what the main function of the template is-->
    <!--Summary of what the main function of the template is-->
    This template can be used to...
    This template can be used to...
    ==Syntax==
    <!--Basically think of this as a blanksample-->
    Add <code><nowiki>{{Example|param=value|pa..}}</nowiki></code> on a page to do...


    ==Usage==
    ==Usage==
    Line 20: Line 16:


    ==Parameters==
    ==Parameters==
    <includeonly><templatedata>{ "description": "","params": {
    <includeonly><templatedata>{ "description": "SHORT DESCRIPTION HERE","params": {
    "parameter1": {
    "parameter1": {
    "label": "Fancy_Name",
    "label": "Fancy_Name",
    Line 51: Line 47:
    "inherits": "put another parameter name here to copy its properties (gets overwritten by new ones)",
    "inherits": "put another parameter name here to copy its properties (gets overwritten by new ones)",
    IMPORTANT, the text < }, > must be removed from the very first parameter you list. Also, the last option you have for every parameter must not end with a comma (so for example if <"default"> was the last one you need to do <"default": "Default_If_Static"> - notice the lack of a comma)-->
    IMPORTANT, the text < }, > must be removed from the very first parameter you list. Also, the last option you have for every parameter must not end with a comma (so for example if <"default"> was the last one you need to do <"default": "Default_If_Static"> - notice the lack of a comma)-->
    ==Sample==
    ==Sample==
    The following input:
    The following input:
    Line 58: Line 55:


    <includeonly><</includeonly>noinclude><includeonly>__NOTOC__ [[Category:Template documentation]]</includeonly><includeonly><</includeonly>/noinclude>
    <includeonly><</includeonly>noinclude><includeonly>__NOTOC__ [[Category:Template documentation]]</includeonly><includeonly><</includeonly>/noinclude>
    <includeonly><</includeonly>includeonly>__NOEDITSECTION__<includeonly><</includeonly>/includeonly> <noinclude>[[Template:Documentation]]</noinclude>
    <includeonly><</includeonly>includeonly>__NOEDITSECTION__<includeonly><</includeonly>/includeonly><noinclude>[[Template:Documentation]]
    [[Category:Preload]]</noinclude>

    Latest revision as of 21:18, 12 July 2024

    -- This preload is based off the original documentation template's own documentation. You do not have to follow it exactly. --

    Description

    This template can be used to...

    Usage

    Parameters

    Sample

    The following input:

    {{Example|param=value|pa..}}

    Produces: Example here

    noinclude>/noinclude> includeonly>/includeonly>Template:Documentation