Template:Rules: Difference between revisions
From xat wiki
No edit summary |
No edit summary |
||
Line 92: | Line 92: | ||
</div>}}<!-- | </div>}}<!-- | ||
--><div style="padding-top: 13px; margin-top: 25px; border-top: 2px solid #ccc">{{#if:{{{language|}}}|{{:Main_Page/{{{language}}}}}|{{:Main_Page/en}}}}</div> | --><div class="rules-mp" style="padding-top: 13px; margin-top: 25px; border-top: 2px solid #ccc">{{#if:{{{language|}}}|{{:Main_Page/{{{language}}}}}|{{:Main_Page/en}}}}</div> | ||
</div> | </div> | ||
__NOTOC__ __NOEDITSECTION__ | __NOTOC__ __NOEDITSECTION__ | ||
{{Category|Rules}}</includeonly> | {{Category|Rules}}</includeonly> |
Revision as of 05:45, 21 May 2017
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)
- language - language code for recommended articles (optional, defaults to English)
- 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.