Difference between revisions of "Template:Preference"
m (SMW + Link fail. Using #set: instead.) |
m |
||
Line 1: | Line 1: | ||
<includeonly>{{#set:Name={{{name}}}}}<big>[[Preference:{{{name}}} ({{{section}}})|{{{name}}}]]</big><br /> | <includeonly>{{#set:Name={{{name}}}}}<big>[[Preference:{{{name}}} ({{{section}}})|{{{name}}}]]</big><br /> | ||
[[Summary::{{{summary}}}]]<br /> | [[Summary::{{{summary}}}]]<br /> | ||
− | :''' | + | :'''Tab:''' [[Tab::{{#if: {{{subsection|}}}|{{{section}}}|{{{tab}}}]]<br /> |
− | :''' | + | :'''Section:''' {{#if: {{{subsection|}}}|{{{subsection}}}[[Category:Tab Refactor Needed|{{{section}}}]]<br /> |
:'''Type:''' {{{type}}}<br /> | :'''Type:''' {{{type}}}<br /> | ||
:'''Default:''' [[Default::{{{default}}}]] | :'''Default:''' [[Default::{{{default}}}]] | ||
{{{description}}}</includeonly><noinclude>{{Documentation}}</noinclude> | {{{description}}}</includeonly><noinclude>{{Documentation}}</noinclude> |
Revision as of 02:01, 30 January 2011
Template documentation (for the above template, sometimes hidden or invisible)
{{Preference |name=Auto back |tab=General |section=General |default=checked |description=Automatically sets your client back when you type something. |summary=Automatically come back when you say something. |type=Checkbox |client=mw }}
Shows up as
{{#set:Name=Auto back}}[[{{#ifexist: Preference:Auto back | Preference:Auto back | Preference:Auto back (General)}}|Auto back]]
Summary::Automatically come back when you say something.
- Tab: Tab::General{{#set:Tab=General}}
- Section: General
- Type: Checkbox
- Default: Default::checked
Automatically sets your client back when you type something.{{#switch: mw |m={{#set:Client=Main}} |w={{#set:Client=Widget}} |mw={{#set:Client=Main}} {{#set:Client=Widget}} }}
This template will probably become more complicated as edge cases are discovered.
Visit Template:Preference/doc to edit this text! (How does this work?)