Template:CatExclusive/doc: Difference between revisions
mNo edit summary |
m (→Syntax) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{TOCright}} | {{TOCright}} | ||
This template creates | This template creates four different category marker boxes informing the user when a category is exclusively ecchi, hentai, or both. | ||
{{eyecatch|1|Features|Choose between the | {{eyecatch|1|Features|Choose between the four <nowiki><type></nowiki>s, and optionally <nowiki><align></nowiki> them.}} | ||
==Syntax== | ==Syntax== | ||
Line 8: | Line 8: | ||
#{{m|CatExclusive|<type>}} - Default mode, no alignment! | #{{m|CatExclusive|<type>}} - Default mode, no alignment! | ||
#{{m|CatExclusive|<type>|<align>}} - Define alignment via <align> parameter. | #{{m|CatExclusive|<type>|<align>}} - Define alignment via <align> parameter. | ||
'''<type>''' = Define the type category marker box you require: | '''<type>''' = Define the type of the category marker box you require: | ||
'''E''' | '''E''' | ||
'''ecchi''' = Ecchi only! | '''ecchi''' = Ecchi only! | ||
Line 25: | Line 25: | ||
'''right''' = Aligns the box to the right of the text. | '''right''' = Aligns the box to the right of the text. | ||
'''1''' to '''6''' = No alignment, instead defines level of indentation! | '''1''' to '''6''' = No alignment, instead defines level of indentation! | ||
'''none''' = No | '''none''' = No entry, or any other entry will *not* align the info box. | ||
==Example Category Markers== | ==Example Category Markers== | ||
===The | ===The four <type>s of marker boxes=== | ||
<nowiki>{{CatExclusive|H}}</nowiki> <nowiki>{{CatExclusive|hentai}}</nowiki> | <nowiki>{{CatExclusive|H}}</nowiki> <nowiki>{{CatExclusive|hentai}}</nowiki> | ||
{{CatExclusive|H}} {{CatExclusive|hentai}} | {{CatExclusive|H}} {{CatExclusive|hentai}} | ||
Line 37: | Line 36: | ||
<nowiki>{{CatExclusive|E&H}}</nowiki> <nowiki>{{CatExclusive|ecchi&hentai}}</nowiki> | <nowiki>{{CatExclusive|E&H}}</nowiki> <nowiki>{{CatExclusive|ecchi&hentai}}</nowiki> | ||
{{CatExclusive| | {{CatExclusive|E&H}} {{CatExclusive|ecchi&hentai}} | ||
<nowiki>{{CatExclusive|A}}</nowiki> <nowiki>{{CatExclusive|any}}</nowiki> | <nowiki>{{CatExclusive|A}}</nowiki> <nowiki>{{CatExclusive|any}}</nowiki> |
Latest revision as of 18:29, 15 May 2009
This template creates four different category marker boxes informing the user when a category is exclusively ecchi, hentai, or both.
Features Choose between the four <type>s, and optionally <align> them.
Syntax
The template can have 1 or 2 parameters:
- {{CatExclusive|<type>}} - Default mode, no alignment!
- {{CatExclusive|<type>|<align>}} - Define alignment via <align> parameter.
<type> = Define the type of the category marker box you require: E ecchi = Ecchi only! H hentai = Hentai only! E&H ecchi&hentai = Ecchi & hentai only! A any = Any anime. (default) <align> = Should the marker box be aligned? By default it is not a "float". left = Aligns the box to the left of the text. right = Aligns the box to the right of the text. 1 to 6 = No alignment, instead defines level of indentation! none = No entry, or any other entry will *not* align the info box.
Example Category Markers
The four <type>s of marker boxes
{{CatExclusive|H}} {{CatExclusive|hentai}}
|
|
{{CatExclusive|E}} {{CatExclusive|ecchi}}
|
|
{{CatExclusive|E&H}} {{CatExclusive|ecchi&hentai}}
|
|
{{CatExclusive|A}} {{CatExclusive|any}}
|
|
The <align> used for indentation
{{CatExclusive|E&H|1}} (indent level 1)
|
The <align>ment of the info boxes
{{CatExclusive|E|right}}
|
blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah...
{{CatExclusive|A|left}}
|
blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah...