Difference between revisions of "Template:Pp-upload/doc"
Wikipedia>Mr. Stradivarius (add docs) |
FairPlay137 (talk | contribs) m |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
{{lua|Module:Protection banner}} | {{lua|Module:Protection banner}} | ||
− | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata | + | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata --> |
− | This template adds a protection banner or a protection icon to files that have been | + | This template adds a protection banner or a protection icon to files that have been upload-protected. |
=== Usage === | === Usage === | ||
Line 10: | Line 10: | ||
* Use {{tlx|{{lc:{{BASEPAGENAME}}}}|small=yes}} for just an icon at the top | * Use {{tlx|{{lc:{{BASEPAGENAME}}}}|small=yes}} for just an icon at the top | ||
− | This template should only be used on '''''upload-protected''''' pages. Please note that only [[ | + | This template should only be used on '''''upload-protected''''' pages. Please note that only [[The TTSCpedia:Administrators|administrators]] can protect pages; you cannot protect a page just by adding this template to it. |
− | {{in category| | + | {{in category|Upload-protected files|Pages with incorrect protection templates}} |
=== See also === | === See also === | ||
Line 20: | Line 20: | ||
<!-- Categories below this line, please; interwikis at Wikidata --> | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
[[Category:Top icon protection templates]] | [[Category:Top icon protection templates]] | ||
− | [[Category: | + | [[Category:Upload-protected files|*]] |
}}</includeonly> | }}</includeonly> |
Latest revision as of 07:19, 3 March 2019
This template uses Lua: |
This template adds a protection banner or a protection icon to files that have been upload-protected.
Usage
- Use
{{pp-upload}}
for the normal template - Use
{{pp-upload|reason=text}}
for applying a specific reason - Use
{{pp-upload|small=yes}}
for just an icon at the top
This template should only be used on upload-protected pages. Please note that only administrators can protect pages; you cannot protect a page just by adding this template to it.
- This template will categorize into Category:Upload-protected files and Category:Pages with incorrect protection templates.
See also