Template:Policy: Difference between revisions

From Zelda Dungeon Wiki
Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
(Created template)
 
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{#vardefine:PolicyHeader|
<onlyinclude>{{Ambox|{{{1|}}}
{{Ambox|type=header
| type = notice
|color=purple
| text = This {{{1|page}}} contains '''official wiki policy''' which must be followed.
|image=[[File:PrincessZeldaArt Thumb.png|x100px]]
}}<includeonly>{{Cat|Wiki Policy|{{{cat|{{PAGENAME}}}}}}}</includeonly></onlyinclude>
|header=Official Policy
|This page contains official wiki policy and must be followed.
}}
}}{{#vardefine:PolicyInline|
{{Ambox|type=inline
|color=purple
|image1=[[File:Zeldaoot3ds.png|x100px]]
|image2=[[File:PrincessZeldaArt Thumb.png|x100px]]
|header=Official Policy
|This section contains official wiki policy and must be followed.
}}}}{{#switch:{{lc:{{{1|}}}}}
|sec|section|s|i|inline={{#var:PolicyInline}}
|header|head|main|h|m|#default={{#var:PolicyHeader}}}}
<includeonly>{{Cat|Wiki Policy}}</includeonly><noinclude>


==Purpose==
==Purpose==
This is a [[Template:Ambox|Ambox]] flag an article or section containing official wiki policy.  
This {{Temlink|Ambox}} flags an article or section containing official wiki policy. Policies are sorted into [[:Category:Wiki Policy]].


==Usage==
==Usage==
Just place this template at the very top of an article (above any infoboxes, etc.), using '''<nowiki>{{Policy}}</nowiki>'''. To mark a section, use '''<nowiki>{{Policy|Inline}}</nowiki>''' or '''<nowiki>{{Policy|Section}}</nowiki>'''.
Just place this template at the very top of an article (above any infoboxes, etc.), using {{Usage}}. To mark a section, use {{Usage|section}}.


{{Cat|Ambox Templates}}</noinclude>
 
{{Cat|Ambox Templates}}

Latest revision as of 19:39, November 17, 2020

This page contains official wiki policy which must be followed.

Purpose

This {{Ambox}} flags an article or section containing official wiki policy. Policies are sorted into Category:Wiki Policy.

Usage

Just place this template at the very top of an article (above any infoboxes, etc.), using {{Policy}}. To mark a section, use {{Policy| section }}.