Template:Rules: Difference between revisions

From xat wiki
No edit summary
(default main header)
Line 18: Line 18:
<div style="width:100%; background: #f8f8ff; border: 1px solid #ddd; padding: 15px; margin: 0 auto; box-sizing: border-box"><!--
<div style="width:100%; background: #f8f8ff; border: 1px solid #ddd; padding: 15px; margin: 0 auto; box-sizing: border-box"><!--


--><div style="font-weight:bold; text-align:center; padding-bottom: 8px; margin: 0 auto; width: 70%">{{{header}}}</div><!--
--><div style="font-weight:bold; text-align:center; padding-bottom: 8px; margin: 0 auto; width: 70%">{{{header|In order to provide the best experience possible for all visitors, we have listed a set of guidelines below that each user must follow. Guidelines apply to all elements of the chat.}}}</div><!--


--><div style="text-decoration: underline; font-weight: bold; text-align: center; padding-bottom: 25px; margin: 0 auto; width: 70%">{{{header2|ALL RULES APPLY TO YOUR MESSAGES, NAME, STATUS, HOMEPAGE, AVATAR, ETC.}}}</div><!--
--><div style="text-decoration: underline; font-weight: bold; text-align: center; padding-bottom: 25px; margin: 0 auto; width: 70%">{{{header2|All rules apply to your messages, name, status, homepage, avatar etc.}}}</div><!--


-->{{#ifeq:{{{languages}}}|yes|<div style="text-align:left; padding-bottom:25px"><languages/></div>|}}<!--
-->{{#ifeq:{{{languages}}}|yes|<div style="text-align:left; padding-bottom:25px"><languages/></div>|}}<!--

Revision as of 05:33, 22 April 2020

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.