Difference between revisions of "Template:Sleaze by"

From Disobiki
Jump to navigation Jump to search
(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…')
 
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}}}}}|Sleaze by {{{1}}}]] | [[:Category: {{#ifeq: {{NAMESPACE}} | File | Images of sleaze by {{{1}}} | Sleaze by {{{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: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>
 
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 />It is namespace aware, categorizing sleaze into image categories as necessary.
Line 28: Line 28:
 
| '''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 40:
 
|-  
 
|-  
 
| <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|thong|lower=1}}</nowiki></code>
+
| <code><nowiki>{{Sleaze by|sex|thong|prefix=1|lower=1}}</nowiki></code>
 
| [[:Category: Sleaze by sex|sleaze by sex]], [[:Category: Sleaze by thong|thong]]
 
| [[:Category: Sleaze by sex|sleaze by sex]], [[:Category: Sleaze by thong|thong]]
 
|-  
 
|-  

Revision as of 12:40, 3 July 2010

This template handles categorization of a single sleaze with up to five categories.
It is namespace aware, categorizing sleaze into image categories as necessary.
For further discussion about sleaze by category and usage, see these guidelines.

Usage

{{Sleaze by|shower scene}}
{{Sleaze by|sex|thong|lower=1}}
{{Sleaze by|breasts (unwilling)|thong|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|thong|prefix=1|lower=1}} sleaze by sex, thong
{{Sleaze by breasts (unwilling)|thong|display=0}} No output because display is disabled.