Template:Protected: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
Tag: Reverted
(Use documentation/template demo templates)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<onlyinclude>{{ambox|type=protection|image={{#ifeq: {{{1|}}} | admin | [[File:Soul_Oath_Condition_Icon.webp|35px|link=]] | [[File:Phalanx_Formation_Icon.webp|35px|link=]]}}|text=This page is protected and can only be edited by {{{1|registeted user}}}s. {{{reason|No reason was given for why this template  was added.}}}}}</onlyinclude><includeonly></includeonly><noinclude>{{documentation|content=Mark a page as protected. First unnamed parameter can specify if it's locked only for admins:
<includeonly>{{ambox|type=protection|image={{#ifeq: {{{1|}}} | admin | [[File:Soul_Oath_Condition_Icon.webp|35px|link=]] | [[File:Phalanx_Formation_Icon.webp|35px|link=]]}}|text=This page is protected and can only be edited by {{{1|registered user}}}s. {{{reason|No reason was given for why this template  was added.}}}}}</includeonly><noinclude>{{documentation|content=
<pre> {{protected|admin}} </pre>
Mark a page as protected. First unnamed parameter can specify if it's locked only for admins:
 
== Example ==
{{Template demo
| style = list
| <nowiki>{{protected|admin}}</nowiki>
}}


{{protected|admin}}
[[Category:Templates]]
[[Category:Message box templates]]
== Template data ==
== Template data ==
<templatedata>
<templatedata>
Line 13: Line 16:
}
}
}
}
</templatedata>}}</noinclude>
</templatedata>
}}
[[Category:Templates]]
[[Category:Message box templates]]
</noinclude>

Latest revision as of 21:13, 19 January 2025

Template documentation

Mark a page as protected. First unnamed parameter can specify if it's locked only for admins:

Example

Markup
{{protected|admin}}
Renders as

Template data

No description.

Template parameters

ParameterDescriptionTypeStatus
11

no description

Unknownoptional
reasonreason

no description

Unknownoptional