v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "Template:Rule"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(New page: Rule {{{1}}}<noinclude> This template is designed to make references to the rules easier.<br> Use:<pre>{{rule|j}}</pre> Results in:<br> {{ru...)
 
(fix rule G)
 
(11 intermediate revisions by 5 users not shown)
Line 1: Line 1:
Rule [[DwarfFortressWiki:Community_Portal#{{{1}}}|{{{1}}}]]<noinclude>
+
{{#if: {{{1|}}} | [[Dwarf Fortress Wiki:Community Portal#{{uc:{{{1}}}}}|<span title="Rule {{uc:{{{1}}}}}: {{#switch:{{uc:{{{1}}}}}|A=Alphabet|B=Be bold|C=Categories|D=Discussion|E=Eliminate fluff|F=Facts|G=Gameterms|H=Headings|I=Images|J=Jealousy|K=Keys template|L=Losing is fun|M=More people should look in raws|N=Naming|O=Original research is good|P=Preview|Q=Queue|R=Redundancy|S=Style|T=Timelessness|U=User pages|V=Verify|W=Wit hard to recognize|X=Xeniality|Y=Ye Olde (outdated) Info|Z=Zorro (i.e. sign your comments)|unknown rule}}
 +
">Rule {{uc:{{{1}}}}}</span>]] | [[Dwarf Fortress Wiki:Community_Portal#We_are_doing_this.21_Let_us_do_it_right.|rule]] }}<noinclude>
  
 
This template is designed to make references to the rules easier.<br>
 
This template is designed to make references to the rules easier.<br>
Line 6: Line 7:
 
{{rule|j}}
 
{{rule|j}}
  
Idea for improvement: Make it so that <tt><nowiki>{{rule}}</nowiki></tt> results in a link formatted like [[DwarfFortressWiki:Community_Portal#We_are_doing_this.21_Let_us_do_it_right.|rule]].</noinclude>
+
<tt><nowiki>{{rule}}</nowiki></tt> results in a link formatted like {{rule}}. You can hover over the link with the mouse in most  browsers for a brief reminder of which rule it is
 +
 
 +
[[Category:Templates]]</noinclude>

Latest revision as of 01:53, 29 April 2012

rule

This template is designed to make references to the rules easier.

Use:

{{rule|j}}

Results in:
Rule J

{{rule}} results in a link formatted like rule. You can hover over the link with the mouse in most browsers for a brief reminder of which rule it is