TemplateDoc:Notice/Fracture: Difference between revisions

no edit summary
No edit summary
 
Line 11: Line 11:
<code><nowiki>{{Notice/Fracture}}</nowiki></code>
<code><nowiki>{{Notice/Fracture}}</nowiki></code>


Adding a <code>|category=</code> argument with any text in will prevent the template from adding a relevant category to the page. If a category is permitted, the template will use the category name given in the first parameter, and otherwise simply add [[:Category:Fracture]] if not.
Adding a <code>|category=</code> argument with any text in will prevent the template from adding a relevant category to the page. If a category is permitted, the template will use the category name given in the first parameter, and otherwise simply add [[:Category:Fractures]] if not.


==Example==
==Example==
Line 21: Line 21:
|<code><nowiki>{{Notice/Fracture}}</nowiki></code>
|<code><nowiki>{{Notice/Fracture}}</nowiki></code>
|{{Notice/Fracture|category=no}}<br>
|{{Notice/Fracture|category=no}}<br>
Also adds [[:Category:Fracture]] to the page.
Also adds [[:Category:Fractures]] to the page.
|-
|-
|<code><nowiki>{{Notice/Fracture|Drengr}}</nowiki></code>
|<code><nowiki>{{Notice/Fracture|Drengr}}</nowiki></code>