User:Aseleste/Templates/Modules/Indexer/sandbox
Appearance
This is the sandbox page for User:Aseleste/Templates/Modules/Indexer (diff). See also the companion subpage for test cases. |
This template should not be substituted. |
This template uses Lua: |
Syntax
[edit]{{User:Aseleste/Templates/Modules/Indexer/sandbox | <!--folder=--> <!-- Folding function (optional) --> | <!--table_*=--> <!-- Category (optional, suggested) --> | <!--content=--> <!-- Content (optional, suggested) --> }}
Parameters
[edit]Parameter | Description |
---|---|
folder
|
Folding function. (optional) Magic words: __M_LEFT__ , __M_RIGHT__
|
table_*
|
Category. (optional, suggested) Magic words: __M_CONTENT__
|
content
|
Content. (optional, suggested) Magic words: __M_INDEX__ [category 1] [category 2] ... [category n] , __M_CATEGORY__
|
Examples
[edit]Example without parameters
[edit]{{User:Aseleste/Templates/Modules/Indexer/sandbox}}
Example with useful content
[edit]{{User:Aseleste/Templates/Modules/Indexer/sandbox | table_1_ordered1=<nowiki>Ordered 1 __M_CONTENT__</nowiki> | table_2_ordered2=<nowiki>Ordered 2 __M_CONTENT__</nowiki> | table_unordered1=<nowiki>Unordered 1 __M_CONTENT__</nowiki> | table_unordered2=<nowiki>Unordered 2 __M_CONTENT__</nowiki> | content=<nowiki> __M_INDEX__ [ordered1] [ordered2] [unordered1] [unordered2] I am in category '''__M_CATEGORY__'''. __M_INDEX__ [ordered1] [ordered2] I am in ordered categories only. __M_INDEX__ [unordered1] [unordered2] I am in unordered categories only. </nowiki>}}
Ordered 1
I am in category ordered1.
I am in ordered categories only.
Ordered 2
I am in category ordered2.
I am in ordered categories only.
Unordered 2
I am in category unordered2.
I am in unordered categories only.
Unordered 1
I am in category unordered1.
I am in unordered categories only.
Example with everything
[edit]{{User:Aseleste/Templates/Modules/Indexer/sandbox | folder=<nowiki>__M_LEFT__ ---- __M_RIGHT__</nowiki> | table_1_ordered1=<nowiki>Ordered 1 __M_CONTENT__</nowiki> | table_2_ordered2=<nowiki>Ordered 2 __M_CONTENT__</nowiki> | table_unordered1=<nowiki>Unordered 1 __M_CONTENT__</nowiki> | table_unordered2=<nowiki>Unordered 2 __M_CONTENT__</nowiki> | content=<nowiki> __M_INDEX__ [ordered1] [ordered2] [unordered1] [unordered2] I am in category '''__M_CATEGORY__'''. __M_INDEX__ [ordered1] [ordered2] I am in ordered categories only. __M_INDEX__ [unordered1] [unordered2] I am in unordered categories only. </nowiki>}}
Ordered 1
I am in category ordered1.
I am in ordered categories only.
Ordered 2
I am in category ordered2.
I am in ordered categories only.
Unordered 2
I am in category unordered2.
I am in unordered categories only.
Unordered 1
I am in category unordered1.
I am in unordered categories only.
TemplateData
[edit]This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Aseleste/Templates/Modules/Indexer in articles based on its TemplateData.
TemplateData for Aseleste/Templates/Modules/Indexer
Categorizes content.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Folding function | folder | Folding function | String | suggested |
Content | content | Content. | String | suggested |