Template:Eyecatch3: Difference between revisions

From AniDB
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(6 intermediate revisions by the same user not shown)
Line 13: Line 13:
}}"
}}"
|
|
{{#if: {{{2|}}}|{{indent|{{{2}}}}}|}}{| style="background:#{{CatWcolBackground|{{{1}}}}}; border:1px solid #{{CatWcolFrame|{{{1}}}}}; width:250px; font-size:90%;"
{{#if: {{{2|}}}|{{indent|{{{2}}}}}|}}{| style="background:#{{CatWcolBackground|{{#switch: {{{1}}}
| style="background:black; padding:2px; text-align:center;"    | <span style="color:white; font-weight:bold;">Category Weight</span>
| e
| style="background:#{{CatWcolFrame|{{{1}}}}}; padding:2px; text-align:center;" | <span style="color:black; font-weight:bold;"><tt>{{#switch: {{{1}}}
| E
  | onoffSec
  | ecchi = onoff
  | onoffSecOne
  | h
  | onoff = - or &#42;&#42;&#42;
  | H
  | worstcaseSec
  | hentai = worstcase
  | worstcase
  | h&e
  | amountSec
  | H&E
  | ecchi&hentai
  | amount
  | amount
| + to &#42;&#42;&#42;
}}}}; border:1px solid #{{CatWcolFrame|{{{1}}}}}; font-size:90%;"
}}</tt></span>
| style="background:black; padding:2px 6px; text-align:center;"   | <span style="color:white; font-weight:bold;">Category</span>
|-
| style="background:#{{CatWcolFrame|{{#switch: {{{1}}}
| style="padding:2px; text-align:center;" colspan="2" | ''{{#switch: {{{1}}}
  | e
  | onoff = If applicable, this category should be weighted with '''<tt>***</tt>''' (on). Otherwise do '''not''' set it at all!
| E
  | onoffSec = If one or more categories in this section are applicable they should be weighted with '''<tt>***</tt>''' (on). Otherwise do '''not''' set them!
| ecchi = onoff
  | onoffSecOne = Only '''one''' of the categories in this section is applicable and should be weighted with '''<tt>***</tt>''' (on). Otherwise do '''not''' set any of them!
  | h
  | worstcase = If applicable, choose a weight between '''<tt>+</tt>''' (slight) to '''<tt>***</tt>''' (excessive) describing the '''worst case''' of category occurrence in the anime.
  | H
  | worstcaseSec = For all the categories in this section choose (if applicable) a weight between '''<tt>+</tt>''' (slight) to '''<tt>***</tt>''' (excessive) describing the '''worst case''' of specific category occurrence in the anime.
  | hentai = worstcase
  | amountSec = For all the categories in this section choose (if applicable) a weight between '''<tt>+</tt>''' (seldom) to '''<tt>***</tt>''' (abundant) denoting '''how often''' the specific category occurs in the anime.
  | h&e
  | H&E
  | ecchi&hentai
  | amount
  | amount
  | If applicable, choose a weight between '''<tt>+</tt>''' (seldom) to '''<tt>***</tt>''' (abundant) denoting '''how often''' the category occurs in the anime.
}}}}; padding:2px 6px; text-align:center;" | <span style="color:black;">{{#switch: {{{1}}}
}}''
| e
| E
| ecchi = Ecchi only!
| h
| H
| hentai = Hentai only!
| h&e
| H&E
| ecchi&hentai
| Ecchi & hentai only!
}}</span>
|}
|}
|}</includeonly><noinclude>
|}</includeonly><noinclude>{{{{PAGENAME}}/doc}}[[Category:Category Weight]]</noinclude>
 
{{eyecatch3|H|right}}
 
 
 
{{{{PAGENAME}}/doc}}[[Category:Category Weight]]</noinclude>

Latest revision as of 12:32, 15 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:

  1. {{CatExclusive|<type>}} - Default mode, no alignment!
  2. {{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}}
Category Hentai only!
{{eyecatch3|H}}
Category Hentai only!
{{eyecatch3|hentai}}
Category Hentai only!
{{eyecatch3|e}}
Category Ecchi only!
{{eyecatch3|E}}
Category Ecchi only!
{{eyecatch3|ecchi}}
Category Ecchi only!
{{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}}
Category Ecchi only!

blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah 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}}
Category Hentai only!

blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah...