Difference between revisions of "Template:Rules"

From xat wiki
Jump to: navigation, search
(using parser functions, no need for r attributes nor for other disabling attributes anymore; switching from table layout to containers)
m
Line 19: Line 19:
 
*'''|ruled='''Now here I explain in '''d'''etail what words and situations apply to this rule.
 
*'''|ruled='''Now here I explain in '''d'''etail what words and situations apply to this rule.
 
</noinclude><includeonly>
 
</noinclude><includeonly>
<div style="width:100%"><!--
+
<div style="width:100%; {{#ifeq:{{FULLPAGENAME}}|Rules:Help|min-width:700px|}}"><!--
  
 
--><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}}}</div><!--

Revision as of 04:46, 23 August 2015

Attributes:

  • 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
  • rules - list of rules (optional, see below for rule spoilers)
  • staff - notes to staff members (optional)
  • extra - something extra that needs mentioning, see Trade Chat for example (optional)

Having the staff attribute not included might be what you're after, if you have rules that are not in english. Information about staff can in that situation be included under attribute extra (see Rules:Fundos for an example).


Optional: If you wish, you could have your rules expand to save space (see Rules:Help for an example)

Attributes:

  • rule# - Short introduction of a rule
  • rule#d - More detailed version of a rule

Example:

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