Template:CatExclusive

From AniDB
Revision as of 12:46, 15 May 2009 by Foo2 (talk | contribs) (New template that creates marker boxes pointing out if a category is ecchi or hentai exclusive.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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:

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


The <align> used for indentation

{{CatExclusive|E&H|1}} (indent level 1)
Category Ecchi & hentai only!


The <align>ment of the info boxes

{{CatExclusive|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...

{{CatExclusive|A|left}}
Category Ecchi & 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...