Template:Eyecatch3: Difference between revisions

From AniDB
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 37: Line 37:
  | ecchi&hentai
  | ecchi&hentai
  | amount
  | amount
}}}}; padding:2px 6px; text-align:center;"  | <span style="color:black; font-weight:bold;">{{#switch: {{{1}}}
}}}}; padding:2px 6px; text-align:center;"  | <span style="color:black;">{{#switch: {{{1}}}
  | e
  | e
  | E
  | E
  | ecchi = Ecchi exclusive!
  | ecchi = Ecchi only!
  | h
  | h
  | H
  | H
  | hentai = Hentai exclusive!
  | hentai = Hentai only!
  | h&e
  | h&e
  | H&E
  | H&E
  | ecchi&hentai
  | ecchi&hentai
  | Ecchi & Hentai only!
  | Ecchi & hentai only!
}}</span>
}}</span>
|}
|}
|}</includeonly><noinclude>{{{{PAGENAME}}/doc}}[[Category:Category Weight]]</noinclude>
|}</includeonly><noinclude>{{{{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...