Template:Pp-template: Difference between revisions

From BoyWiki
No edit summary
No edit summary
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
{|style="background: #{{#switch:{{{border|{{{background|}}} }}}
<includeonly>{{#invoke:Protection banner|main}}</includeonly><noinclude>
  | red      = EF2929
{{Documentation}}  
  | orange  = F57900
</noinclude>
  | yellow  = FCE94F
[[Category:Protected templates]]
  | purple  = CABEED
  | blue    = D8E9FC
  | green    = 8AE234
  | gray    = eee
  | grey    = eee
  | #default = D8E9FC
}}; color: #{{{text_color|{{#switch:{{{border|{{{background|}}} }}}
  | red      = fff
  | EF2929  = fff
  | E60000  = fff
  | #default = fff
}} }}}; width: {{{width|90%}}}; margin: 0em auto 0.8em; padding:0.5em; border-radius:0.4em; -moz-border-radius:0.4em; {{{style|}}}" cellpadding="0" cellspacing="4"
|-
{{#if:{{{title|}}}|! colspan="2" style="font-size:130%;" {{!}} '''{{{title}}}'''
{{!}}-}}
|{{#if:{{{image|}}}|style="width:60px" {{!}} {{{image}}}
{{!}}|{{#if:{{{image_name|}}}| style="width:{{{image_size|50px}}}" {{!}} [[Image:{{{image_name}}}{{!}}{{{image_size|50px}}}]]
{{!}}|}} }}<span style="font-size:{{{text_size|95%}}}">{{#if:{{{type|}}}|{{{type}}}<span style="font-size:smaller">
{{{info|}}}</span>|{{{text}}}{{#if:{{{info|}}}|<span style="font-size:smaller">
{{{info|}}}</span>|}}</span>}}
|}<noinclude>
{{Documentation}}</noinclude>
 
 
 
 
 
 
 
 
 
 
 
}}">
<tr>
<td class="ambox-image">{{{image|[[Image:40px-Padlock.svg.png]]}}}</td>
<td style="padding: 0.25em 0.5em;">{{{type|}}}
<div class="ambox-smalltext">
{{{info|}}}
</div></td></tr></table></onlyinclude>
 
 
[[Category:Protected templates ]]

Latest revision as of 02:17, 1 June 2022


BoyWiki Template documentation (for the above template, sometimes hidden or invisible)

This is the {{pp-template}} protection notice.

It is used on protected templates and on protected file (image) pages.

Please note that only administrators can protect pages, this template only informs about the protection status of the page.

When {{pp-template}} is added to a protected template, it should be placed inside tags <noinclude></noinclude> (otherwise, every page which uses the template will load the protection notice, which will result in an error message).

Visit Template:Pp-template/doc to edit this template's description!
Done making changes?   Refresh   Also see:  Portal:Template index  and   Help:Templates