Difference between revisions of "Template:UC"
GrampaSwood (talk | contribs) (Added note about 3= being required or else it all collapses :() |
GrampaSwood (talk | contribs) m (oops) |
||
(12 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{subst:< | + | <includeonly>{{subst:void| <!-- If correctly substituted, {{void}} will remove the warning below. --> |
− | Hi | + | <span style="font-size: large; color: red">'''<nowiki>This template should always be substituted. Please change {{UC}} to {{subst:UC}}</nowiki>'''</span> |
+ | [[Category:Pages with incorrectly transcluded templates]]}}</includeonly> | ||
+ | Hi {{{1|{{<includeonly>subst:</includeonly>PAGENAME}}}}}, | ||
− | Please add "User | + | Please add "User {{{1|{{<includeonly>subst:</includeonly>PAGENAME}}}}}" in front of any file you intend to use on your user space, for example "User {{{1|{{<includeonly>subst:</includeonly>PAGENAME}}}}} Profile Picture.png". {{<includeonly>subst:</includeonly>#ifeq:{{{Category|{{{category|}}}}}}|no||Please also add [[:Category:User images]] to the image summary.}} {{<includeonly>subst:</includeonly>#ifeq:{{{Changed|{{{changed|}}}}}}|no||There is no need to upload the image again, I have already changed the file's name.}}<noinclude>{{doc begin}} |
− | {{{ | + | This template is intended to be used to warn a user who did not include the "User" prefix for their images. This is only suitable for first-time offenders -- on subsequent violations feel free to mark the page for deletion/delete as necessary. |
− | + | ||
− | <noinclude> | + | Note: "UC" stands for User Content. |
− | {{doc begin}} | ||
− | This template is intended to be used | ||
== Usage == | == Usage == | ||
− | :<code><nowiki>{{subst: | + | :<code><nowiki>{{subst:UC|Username|Category=no|Changed=no}}</nowiki></code> |
− | + | {{c|Alert|This template should ''always'' be substituted!}} | |
− | |||
== Parameters == | == Parameters == | ||
− | ; | + | ; Unnamed parameter 1 |
− | : | + | : Overrides the username (by default this uses [[w:mw:Help:Magic words#Page names|<nowiki>{{PAGENAME}}</nowiki>]]). |
; Category | ; Category | ||
− | : | + | : Set to "no" to suppress an extra suggestion to add [[:Category:User images]] to upload |
− | ; | + | ; Changed |
− | : | + | : Set to "no" to suppress a line saying you have already done this for me. '''Note:''' you should only exclude this if said image has been deleted, it is always expected that you correct the file name and category. |
− | : | + | [[Category:Help templates|UC]] |
</noinclude> | </noinclude> |
Latest revision as of 21:21, 28 March 2023
Hi UC,
Please add "User UC" in front of any file you intend to use on your user space, for example "User UC Profile Picture.png". Please also add Category:User images to the image summary. There is no need to upload the image again, I have already changed the file's name.
Documentation for UC
This template is intended to be used to warn a user who did not include the "User" prefix for their images. This is only suitable for first-time offenders -- on subsequent violations feel free to mark the page for deletion/delete as necessary.
Note: "UC" stands for User Content.
Usage
{{subst:UC|Username|Category=no|Changed=no}}
This template should always be substituted!
Parameters
- Unnamed parameter 1
- Overrides the username (by default this uses {{PAGENAME}}).
- Category
- Set to "no" to suppress an extra suggestion to add Category:User images to upload
- Changed
- Set to "no" to suppress a line saying you have already done this for me. Note: you should only exclude this if said image has been deleted, it is always expected that you correct the file name and category.