Difference between revisions of "Template:Preference/doc"

From Mibbit Wiki
Jump to: navigation, search
m (Created page with '<pre><nowiki>{{Preference |name=Auto back |section=General |default=checked |description=Automatically sets your client back when you type something. }}</nowiki></pre> Shows up …')
 
(Updating with changes.)
Line 1: Line 1:
 
<pre><nowiki>{{Preference
 
<pre><nowiki>{{Preference
 
|name=Auto back
 
|name=Auto back
 +
|tab=General
 
|section=General
 
|section=General
 
|default=checked
 
|default=checked
 
|description=Automatically sets your client back when you type something.
 
|description=Automatically sets your client back when you type something.
 +
|summary=Automatically come back when you say something.
 +
|type=Checkbox
 
}}</nowiki></pre>
 
}}</nowiki></pre>
  
Line 10: Line 13:
 
{{Preference
 
{{Preference
 
|name=Auto back
 
|name=Auto back
 +
|tab=General
 
|section=General
 
|section=General
 
|default=checked
 
|default=checked
 
|description=Automatically sets your client back when you type something.
 
|description=Automatically sets your client back when you type something.
 +
|summary=Automatically come back when you say something.
 +
|type=Checkbox
 
}}
 
}}
  
 
This template will probably become more complicated as edge cases are discovered.
 
This template will probably become more complicated as edge cases are discovered.

Revision as of 02:08, 30 January 2011

{{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
}}

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.