|
|
(30 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
| {{indent|{{{1}}}}}{{#if: {{{14|}}} | {{{!}} style="background:#{{CatWcolBackground|{{{2}}}}}; border:1px solid #{{CatWcolFrame|{{{2}}}}}; font-size:90%;"
| | <includeonly>{| cellspacing="0" cellpadding="0" style="{{#switch: {{#if: {{{2|}}} | {{{2}}} | }} |
| {{!}} style="background:black; padding:2px 8px;" {{!}} <span style="color:white; font-weight:bold;">Category Weight</span>
| | | left = clear:left; |
| {{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{3}}}}}</tt></span>
| | | right = clear:right; |
| {{!}} style="padding:2px 8px; vertical-align:center;" {{!}} ''{{{4}}}''
| | | |
| {{!}}-
| | }} {{#switch: {{#if: {{{2|}}} | {{{2}}} | }} |
| {{!}} style="" {{!}}
| | | left = float:left; |
| {{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{5}}}}}</tt></span>
| | | right = float:right; |
| {{!}} style="padding:2px 8px; vertical-align:center;" {{!}} ''{{{6}}}''
| | | |
| {{!}}-
| | }} {{#switch: {{#if: {{{2|}}} | {{{2}}} | }} |
| {{!}} style="" {{!}}
| | | left = margin-bottom:.5em; padding: .5em 1.4em .5em 0; |
| {{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{7}}}}}</tt></span>
| | | right = margin-bottom:.5em; padding: .5em 0 .5em 1.4em; |
| {{!}} style="padding:2px 8px; vertical-align:center;" {{!}} ''{{{8}}}''
| | | |
| {{!}}-
| | }}" |
| {{!}} style="" {{!}}
| | | |
| {{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{9}}}}}</tt></span>
| | {{#if: {{{2|}}}|{{indent|{{{2}}}}}|}}{| style="background:#{{CatWcolBackground|{{#switch: {{{1}}} |
| {{!}} style="padding:2px 8px; vertical-align:center;" {{!}} ''{{{10}}}''
| | | e |
| {{!}}-
| | | E |
| {{!}} style="" {{!}}
| | | ecchi = onoff |
| {{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{11}}}}}</tt></span>
| | | h |
| {{!}} style="padding:2px 8px; vertical-align:center;" {{!}} ''{{{12}}}''
| | | H |
| {{!}}-
| | | hentai = worstcase |
| {{!}} style="" {{!}}
| | | h&e |
| {{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{13}}}}}</tt></span>
| | | H&E |
| {{!}} style="padding:2px 8px; vertical-align:center;" {{!}} ''{{{14}}}''
| | | ecchi&hentai |
| {{!}}} | {{#if: {{{12|}}} | {{{!}} style="background:#{{CatWcolBackground|{{{2}}}}}; border:1px solid #{{CatWcolFrame|{{{2}}}}}; font-size:90%;"
| | | amount |
| {{!}} style="background:black; padding:2px 8px;" {{!}} <span style="color:white; font-weight:bold;">Category Weight</span>
| | }}}}; border:1px solid #{{CatWcolFrame|{{{1}}}}}; font-size:90%;" |
| {{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{3}}}}}</tt></span>
| | | style="background:black; padding:2px 6px; text-align:center;" | <span style="color:white; font-weight:bold;">Category</span> |
| {{!}} style="padding:2px 8px; vertical-align:center;" {{!}} ''{{{4}}}''
| | | style="background:#{{CatWcolFrame|{{#switch: {{{1}}} |
| {{!}}-
| | | e |
| {{!}} style="" {{!}}
| | | E |
| {{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{5}}}}}</tt></span>
| | | ecchi = onoff |
| {{!}} style="padding:2px 8px; vertical-align:center;" {{!}} ''{{{6}}}''
| | | h |
| {{!}}-
| | | H |
| {{!}} style="" {{!}}
| | | hentai = worstcase |
| {{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{7}}}}}</tt></span>
| | | h&e |
| {{!}} style="padding:2px 8px; vertical-align:center;" {{!}} ''{{{8}}}''
| | | H&E |
| {{!}}-
| | | ecchi&hentai |
| {{!}} style="" {{!}}
| | | amount |
| {{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{9}}}}}</tt></span>
| | }}}}; padding:2px 6px; text-align:center;" | <span style="color:black;">{{#switch: {{{1}}} |
| {{!}} style="padding:2px 8px; vertical-align:center;" {{!}} ''{{{10}}}''
| | | e |
| {{!}}-
| | | E |
| {{!}} style="" {{!}}
| | | ecchi = Ecchi only! |
| {{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{11}}}}}</tt></span>
| | | h |
| {{!}} style="padding:2px 8px; vertical-align:center;" {{!}} ''{{{12}}}''
| | | H |
| {{!}}} | {{#if: {{{10|}}} | {{{!}} style="background:#{{CatWcolBackground|{{{2}}}}}; border:1px solid #{{CatWcolFrame|{{{2}}}}}; font-size:90%;"
| | | hentai = Hentai only! |
| {{!}} style="background:black; padding:2px 8px;" {{!}} <span style="color:white; font-weight:bold;">Category Weight</span> | | | h&e |
| {{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{3}}}}}</tt></span>
| | | H&E |
| {{!}} style="padding:2px 8px; vertical-align:center;" {{!}} ''{{{4}}}''
| | | ecchi&hentai |
| {{!}}-
| | | Ecchi & hentai only! |
| {{!}} style="" {{!}}
| | }}</span> |
| {{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{5}}}}}</tt></span>
| | |} |
| {{!}} style="padding:2px 8px; vertical-align:center;" {{!}} ''{{{6}}}''
| | |}</includeonly><noinclude>{{{{PAGENAME}}/doc}}[[Category:Category Weight]]</noinclude> |
| {{!}}-
| |
| {{!}} style="" {{!}}
| |
| {{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{7}}}}}</tt></span>
| |
| {{!}} style="padding:2px 8px; vertical-align:center;" {{!}} ''{{{8}}}''
| |
| {{!}}-
| |
| {{!}} style="" {{!}}
| |
| {{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{9}}}}}</tt></span>
| |
| {{!}} style="padding:2px 8px; vertical-align:center;" {{!}} ''{{{10}}}''
| |
| {{!}}} | {{#if: {{{8|}}} | {{{!}} 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:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{3}}}}}</tt></span>
| |
| {{!}} style="padding:2px 8px; vertical-align:center;" {{!}} ''{{{4}}}''
| |
| {{!}}-
| |
| {{!}} style="" {{!}}
| |
| {{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{5}}}}}</tt></span>
| |
| {{!}} style="padding:2px 8px; vertical-align:center;" {{!}} ''{{{6}}}''
| |
| {{!}}-
| |
| {{!}} style="" {{!}}
| |
| {{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{7}}}}}</tt></span>
| |
| {{!}} style="padding:2px 8px; vertical-align:center;" {{!}} ''{{{8}}}''
| |
| {{!}}} | {{#if: {{{6|}}} | {{{!}} 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:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{3}}}}}</tt></span> | |
| {{!}} style="padding:2px 8px; vertical-align:center;" {{!}} ''{{{4}}}''
| |
| {{!}}-
| |
| {{!}} style="" {{!}}
| |
| {{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{5}}}}}</tt></span>
| |
| {{!}} style="padding:2px 8px; vertical-align:center;" {{!}} ''{{{6}}}''
| |
| {{!}}} | {{#if: {{{4|}}} | {{{!}} 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:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{3}}}}}</tt></span>
| |
| {{!}} style="padding:2px 8px; vertical-align:center;" {{!}} ''{{{4}}}''
| |
| {{!}}} }} }} }} }} }} }}<noinclude>{{ {{TALKPAGENAME}} }}[[Category:Template]]</noinclude>
| |
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}}
Category
|
Ecchi & hentai only!
|
|
{{eyecatch3|E&H}}
Category
|
Ecchi & hentai only!
|
|
{{eyecatch3|ecchi&hentai}}
Category
|
Ecchi & hentai only!
|
|
The <align> used for indentation
{{eyecatch3|e&h|1}} (indent level 1)
Category
|
Ecchi & hentai only!
|
|
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...