Template:Eyecatch3: Difference between revisions
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{#if: {{{14|}}} | {{indent|{{{1}}}}}{{{!}} style="background:#{{CatWcolBackground|{{{2}}}}}; border:1px solid #{{CatWcolFrame|{{{2}}}}}; font-size:90%;" | <includeonly>{{#if: {{{14|}}} | {{indent|{{{1}}}}}{{{!}} style="background:#{{CatWcolBackground|{{{2}}}}}; border:1px solid #{{CatWcolFrame|{{{2}}}}}; font-size:90%;" | ||
{{!}} style="background:black; padding:2px 8px;" {{!}} <span style="color:white; font-weight:bold;">Category Weight</span> | {{!}} style="background:black; padding:2px 8px;" {{!}} <span style="color:white; font-weight:bold;">Category Weight</span> | ||
{{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{3}}}}}</tt></span> | {{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{3}}}}}</tt></span> | ||
Line 83: | Line 83: | ||
{{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{3}}}}}</tt></span> | {{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{3}}}}}</tt></span> | ||
{{!}} style="padding:2px 8px;" {{!}} ''{{{4}}}'' | {{!}} style="padding:2px 8px;" {{!}} ''{{{4}}}'' | ||
{{!}}} }} }} }} }} }} }}<noinclude>{{ {{ | {{!}}} }} }} }} }} }} }}</includeonly><noinclude>{{{{PAGENAME}}/doc}}[[Category:Template]] [[Category:Text Module]]</noinclude> |
Revision as of 23:21, 5 May 2009
This template creates three different category marker boxes informing the user when a category is exclusively ecchi, hentai, or both.
Features Choose between the three <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 category marker box you require: e E ecchi = Ecchi only! h H hentai = Hentai only! e&h E&H ecchi&hentai = Ecchi & hentai only! <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 three <type>s of marker boxes
{{eyecatch3|h}}
{{eyecatch3|H}}
{{eyecatch3|hentai}}
{{eyecatch3|e}}
{{eyecatch3|E}}
{{eyecatch3|ecchi}}
{{eyecatch3|e&h}}
{{eyecatch3|E&H}}
{{eyecatch3|ecchi&hentai}}
The <align> used for indentation
{{eyecatch3|e&h|1}} (indent level 1)
The <align>ment of the info boxes
{{eyecatch3|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...
{{eyecatch3|h|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...