Difference between revisions of "Template:Sleaze by"

From Disobiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<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:All images of sleaze by]] | }}{{#if: {{{1|}}} | [[Category: {{#ifeq: {{NAMESPACE}} | File | Images of sleaze by {{{1}}} | Sleaze by {{{1}}}}}]]{{#ifeq: {{{display|1}}} | 1 | {{#ifeq: {{{lower|0}}} | 0 | [[:Category: {{#ifeq: {{NAMESPACE}} | File | Images of sleaze by {{{1}}} | Sleaze by {{{1}}}}}|{{#ifeq: {{{prefix|0}}} | 1 | Sleaze by | }} {{{1}}}]] | [[:Category: {{#ifeq: {{NAMESPACE}} | File | Images of sleaze by {{{1}}} | Sleaze by {{{1}}}}}|{{#ifeq: {{{prefix|0}}} | 1 | sleaze by | }}{{{1}}}]]}}}}}}{{#if: {{{2|}}} | [[Category: {{#ifeq: {{NAMESPACE}} | File | Images of sleaze by {{{2}}} | Sleaze by {{{2}}}}}]]{{#ifeq: {{{display|1}}} | 1 | , [[:Category: {{#ifeq: {{NAMESPACE}} | File | Images of sleaze by {{{2}}} | Sleaze by {{{2}}}}}|{{{2}}}]]}}}}{{#if: {{{3|}}} | [[Category: {{#ifeq: {{NAMESPACE}} | File | Images of sleaze by {{{3}}} | Sleaze by {{{3}}}}}]]{{#ifeq: {{{display|1}}} | 1 | , [[:Category: {{#ifeq: {{NAMESPACE}} | File | Images of sleaze by {{{3}}} | Sleaze by {{{3}}}}}|{{{3}}}]]}}}}{{#if: {{{4|}}} | [[Category: {{#ifeq: {{NAMESPACE}} | File | Images of sleaze by {{{4}}} | Sleaze by {{{4}}}}}]]{{#ifeq: {{{display|1}}} | 1 | , [[:Category: {{#ifeq: {{NAMESPACE}} | File | Images of sleaze by {{{4}}} | Sleaze by {{{4}}}}}|{{{4}}}]]}}}}{{#if: {{{5|}}} | [[Category: {{#ifeq: {{NAMESPACE}} | File | Images of sleaze by {{{5}}} | Sleaze by {{{5}}}}}]]{{#ifeq: {{{display|1}}} | 1 | , [[:Category: {{#ifeq: {{NAMESPACE}} | File | Images of sleaze by {{{5}}} | Sleaze by {{{5}}}}}|{{{5}}}]]}}}}</includeonly><noinclude>
+
<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 />It is namespace aware, categorizing sleaze into image categories as necessary.
+
<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 [[Film and video guidelines|these guidelines]].
 
  
 
==Usage==
 
==Usage==

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.