.
Template:Pp-template: Difference between revisions
Wikicars, a place to share your automotive knowledge
Jump to navigationJump to search
Red marquis (talk | contribs) No edit summary |
Red marquis (talk | contribs) mNo edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div style="position:absolute; z-index:100; right:20px; top:10px; height:10px; width:300px;"></div> | <div style="position:absolute; z-index:100; right:20px; top:10px; height:10px; width:300px;"></div> | ||
<div style="position:absolute; z-index:100; right:10px; top:10px;" class="metadata" id="administrator"> | <div style="position:absolute; z-index:100; right:10px; top:10px;" class="metadata" id="administrator"> | ||
<imagemap> | <imagemap> | ||
Image:Padlock. | Image:Padlock.png|20px | ||
default [[Wikipedia:Protection policy|This high-risk template or image included in one has been protected from editing to prevent vandalism]] | default [[Wikipedia:Protection policy|This high-risk template or image included in one has been protected from editing to prevent vandalism]] | ||
desc none | desc none | ||
Line 13: | Line 10: | ||
<table class="messagebox protected" style="border:2px solid #99B; padding:0px; font-size:0.9em;"> | <table class="messagebox protected" style="border:2px solid #99B; padding:0px; font-size:0.9em;"> | ||
<tr> | <tr> | ||
<td valign="middle" > [[Image:Padlock. | <td valign="middle" > [[Image:Padlock.png|45px| ]]</td> | ||
<td> | <td> | ||
'''This {{#switch:{{NAMESPACE}} | '''This {{#switch:{{NAMESPACE}} | ||
Line 28: | Line 25: | ||
* Use {{tlx|{{lc:{{PAGENAME}}}}}} for the normal template | * Use {{tlx|{{lc:{{PAGENAME}}}}}} for the normal template | ||
* Use {{tlx|{{lc:{{PAGENAME}}}}|small=yes}} for just an icon at the top | * Use {{tlx|{{lc:{{PAGENAME}}}}|small=yes}} for just an icon at the top | ||
{{protection templates}} | {{protection templates}} |
Latest revision as of 08:30, 9 September 2010
|
}}
- Use {{pp-template{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||etc.}}}} for the normal template
- Use {{pp-template{{#if:small=yes||small=yes}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||etc.}}}} for just an icon at the top
- This template will categorize into Cat:Protected templates{{#if:|{{#if:|, | and }}[[:Category:{{{2}}}|Cat:{{{2}}}]]}}{{#if:|{{#if:|, | and }}[[:Category:{{{3}}}|Cat:{{{3}}}]]}}{{#if:|{{#if:|, | and }}[[:Category:{{{4}}}|Cat:{{{4}}}]]}}{{#if:| and [[:Category:{{{5}}}|Cat:{{{5}}}]]}}.