Difference between revisions of "Template:Sleaze by"
Jump to navigation
Jump to search
Morbus Iff (talk | contribs) (Created page with '<includeonly><!-- the lack of whitespace, and the nowiki tags, are to workaround crazy display bugs involving lack of, or too many, whitespaces in the output. this, of course, ma…') |
Morbus Iff (talk | contribs) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly><!-- | + | <includeonly><!-- The lack of whitespace, and the nowiki tags, are to workaround crazy display bugs involving lack of, or too many, whitespaces in the output. This, of course, makes it nearly impossible to understand or edit without re-formatting it in a text-editor. --><nowiki></nowiki>{{#ifeq: {{NAMESPACE}} | File | [[Category:Sleaze by]] | }}{{#if: {{{1|}}} | [[Category:Sleaze by {{{1}}}]]{{#ifeq: {{{display|1}}} | 1 | {{#ifeq: {{{lower|0}}} | 0 | [[:Category:Sleaze by {{{1}}}|{{#ifeq: {{{prefix|0}}} | 1 | Sleaze by | }} {{{1}}}]] | [[:Category:Sleaze by {{{1}}}|{{#ifeq: {{{prefix|0}}} | 1 | sleaze by | }} {{{1}}}]]}}}}}}{{#if: {{{2|}}} | [[Category:Sleaze by {{{2}}}]]{{#ifeq: {{{display|1}}} | 1 | , [[:Category:Sleaze by {{{2}}}|{{{2}}}]]}}}}{{#if: {{{3|}}} | [[Category:Sleaze by {{{3}}}]]{{#ifeq: {{{display|1}}} | 1 | , [[:Category:Sleaze by {{{3}}}|{{{3}}}]]}}}}{{#if: {{{4|}}} | [[Category:Sleaze by {{{4}}}]]{{#ifeq: {{{display|1}}} | 1 | , [[:Category:Sleaze by {{{4}}}|{{{4}}}]]}}}}{{#if: {{{5|}}} | [[Category:Sleaze by {{{5}}}]]{{#ifeq: {{{display|1}}} | 1 | , [[:Category:Sleaze by {{{5}}}|{{{5}}}]]}}}}</includeonly><noinclude> |
This template handles categorization of a single sleaze with up to five categories. | This template handles categorization of a single sleaze with up to five categories. | ||
− | + | <br />For further discussion about sleaze by category and usage, see [[Death and sleaze guidelines|these guidelines]]. | |
− | <br />For further discussion about sleaze by category and usage, see [[ | ||
==Usage== | ==Usage== | ||
Line 8: | Line 7: | ||
<pre> | <pre> | ||
{{Sleaze by|shower scene}} | {{Sleaze by|shower scene}} | ||
− | {{Sleaze by|sex| | + | {{Sleaze by|sex|thongs|lower=1}} |
− | {{Sleaze by|breasts (unwilling)| | + | {{Sleaze by|breasts (unwilling)|thongs|display=0}} |
</pre> | </pre> | ||
Line 28: | Line 27: | ||
| '''display''' | | '''display''' | ||
| Optional; whether to display any text at all (ie., categorization only). | | Optional; whether to display any text at all (ie., categorization only). | ||
+ | |- | ||
+ | | '''prefix''' | ||
+ | | Optional; whether to preface the categories with "Sleaze by". | ||
|} | |} | ||
Line 37: | Line 39: | ||
|- | |- | ||
| <code><nowiki>{{Sleaze by|shower scene}}</nowiki></code> | | <code><nowiki>{{Sleaze by|shower scene}}</nowiki></code> | ||
+ | | [[:Category: Sleaze by shower scene|shower scene]] | ||
+ | |- | ||
+ | | <code><nowiki>{{Sleaze by|shower scene|prefix=1}}</nowiki></code> | ||
| [[:Category: Sleaze by shower scene|Sleaze by shower scene]] | | [[:Category: Sleaze by shower scene|Sleaze by shower scene]] | ||
|- | |- | ||
− | | <code><nowiki>{{Sleaze by|sex| | + | | <code><nowiki>{{Sleaze by|sex|thongs|prefix=1|lower=1}}</nowiki></code> |
− | | [[:Category: Sleaze by sex|sleaze by sex]], [[:Category: Sleaze by | + | | [[:Category: Sleaze by sex|sleaze by sex]], [[:Category: Sleaze by thongs|thongs]] |
|- | |- | ||
− | | <code><nowiki>{{Sleaze by breasts (unwilling)| | + | | <code><nowiki>{{Sleaze by breasts (unwilling)|thongs|display=0}}</nowiki></code> |
| ''No output because display is disabled.'' | | ''No output because display is disabled.'' | ||
|} | |} | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Latest revision as of 11:51, 2 July 2014
This template handles categorization of a single sleaze with up to five categories.
For further discussion about sleaze by category and usage, see these guidelines.
Usage
{{Sleaze by|shower scene}} {{Sleaze by|sex|thongs|lower=1}} {{Sleaze by|breasts (unwilling)|thongs|display=0}}
Parameters
Note: * denotes required fields.
Parameter | Explanation |
---|---|
1 to 5 * | Insert one to five categories describing this sleaze; only one is required. |
lower | Optional; whether to show "sleaze by sex" instead of "Sleaze by sex". |
display | Optional; whether to display any text at all (ie., categorization only). |
prefix | Optional; whether to preface the categories with "Sleaze by". |
Examples
Type the following... | to get this: |
---|---|
{{Sleaze by|shower scene}}
|
shower scene |
{{Sleaze by|shower scene|prefix=1}}
|
Sleaze by shower scene |
{{Sleaze by|sex|thongs|prefix=1|lower=1}}
|
sleaze by sex, thongs |
{{Sleaze by breasts (unwilling)|thongs|display=0}}
|
No output because display is disabled. |