Difference between revisions of "Template:Rules"

From xat wiki
Jump to: navigation, search
m
m
Line 89: Line 89:
 
-->{{#if:{{{extra|}}}|<div style="padding-top: 25px">
 
-->{{#if:{{{extra|}}}|<div style="padding-top: 25px">
 
{{{extra}}}
 
{{{extra}}}
</div>}}
+
</div>}}<!--
 +
 
 +
--><div style="margin-top: 25px">{{#if:{{{language|}}}|{{Main_Page/{{{language}}}}}|{{Main_Page/en}}}}</div>
 
</div>
 
</div>
   
 
=Recommended xat Wiki Articles=
 
{{recommended articles}}
 
 
__NOTOC__
 
__NOTOC__
 
[[Category:Rules]]</includeonly>
 
[[Category:Rules]]</includeonly>

Revision as of 20:17, 25 August 2015

Attributes:

  • heading - change the heading for rules (optional, defaults to Chatname Rules)
  • header - add important message at the very top of the rules
  • header2 - adds message right after with underline attribute (optional)
  • languages - value yes, if rules are translatable
  • extra - something extra that needs mentioning (staff information etc)
  • rule# - Short introduction of a rule
  • rule#d - More detailed version of a rule

Example:

  • |rule1=No profanity.
  • |rule1d=Now here I explain in detail what words and situations apply to this rule.