Template:CatExclusive/doc: Difference between revisions

From AniDB
Jump to navigation Jump to search
(Documentation for CatExclusive)
 
mNo edit summary
Line 9: Line 9:
#{{m|CatExclusive|<type>|<align>}} - Define alignment via <align> parameter.
#{{m|CatExclusive|<type>|<align>}} - Define alignment via <align> parameter.
     '''<type>''' =  Define the type category marker box you require:
     '''<type>''' =  Define the type category marker box you require:
                  '''e'''
                   '''E'''
                   '''E'''
               '''ecchi'''  =  Ecchi only!
               '''ecchi'''  =  Ecchi only!
   
   
                  '''h'''
                   '''H'''
                   '''H'''
               '''hentai'''  =  Hentai only!
               '''hentai'''  =  Hentai only!
   
   
                '''e&h'''
                 '''E&H'''
                 '''E&H'''
         '''ecchi&hentai'''  =  Ecchi & hentai only!
         '''ecchi&hentai'''  =  Ecchi & hentai only!
                  '''A'''
                '''any'''  =  Any anime.            (default)
   
   
     '''<align>''' =  Should the marker box be aligned? By default it is not a "float".
     '''<align>''' =  Should the marker box be aligned? By default it is not a "float".
Line 30: Line 30:
==Example Category Markers==
==Example Category Markers==
===The three <type>s of marker boxes===
===The three <type>s of marker boxes===
  <nowiki>{{CatExclusive|h}}</nowiki>
  <nowiki>{{CatExclusive|H}}</nowiki>     <nowiki>{{CatExclusive|hentai}}</nowiki>
{{CatExclusive|h}}
{{CatExclusive|H}} {{CatExclusive|hentai}}  
 
<nowiki>{{CatExclusive|H}}</nowiki>
{{CatExclusive|H}}
 
<nowiki>{{CatExclusive|hentai}}</nowiki>
{{CatExclusive|hentai}}
 
<nowiki>{{CatExclusive|e}}</nowiki>
{{CatExclusive|e}}
 
<nowiki>{{CatExclusive|E}}</nowiki>
{{CatExclusive|E}}
 
<nowiki>{{CatExclusive|ecchi}}</nowiki>
{{CatExclusive|ecchi}}


  <nowiki>{{CatExclusive|e&h}}</nowiki>
  <nowiki>{{CatExclusive|E}}</nowiki>    <nowiki>{{CatExclusive|ecchi}}</nowiki>
{{CatExclusive|e&h}}
{{CatExclusive|E}} {{CatExclusive|ecchi}}


  <nowiki>{{CatExclusive|E&H}}</nowiki>
  <nowiki>{{CatExclusive|E&H}}</nowiki>  <nowiki>{{CatExclusive|ecchi&hentai}}</nowiki>
{{CatExclusive|e&h}}
{{CatExclusive|e&h}} {{CatExclusive|ecchi&hentai}}


  <nowiki>{{CatExclusive|ecchi&hentai}}</nowiki>
  <nowiki>{{CatExclusive|A}}</nowiki>    <nowiki>{{CatExclusive|any}}</nowiki>
{{CatExclusive|ecchi&hentai}}
{{CatExclusive|A}} {{CatExclusive|any}}




===The <align> used for indentation===
===The <align> used for indentation===
  <nowiki>{{CatExclusive|e&h|1}}</nowiki> (indent level 1)
  <nowiki>{{CatExclusive|E&H|1}}</nowiki> (indent level 1)
{{CatExclusive|e&h|1}}
{{CatExclusive|E&H|1}}




===The <align>ment of the info boxes===
===The <align>ment of the info boxes===
  <nowiki>{{CatExclusive|e|right}}</nowiki>
  <nowiki>{{CatExclusive|E|right}}</nowiki>
{{CatExclusive|e|right}}
{{CatExclusive|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...
blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah...


  <nowiki>{{CatExclusive|h|left}}</nowiki>
  <nowiki>{{CatExclusive|A|left}}</nowiki>
{{CatExclusive|h|left}}
{{CatExclusive|A|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...
blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah...

Revision as of 18:09, 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
              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 three <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 Any anime.
Category Ecchi & hentai only!
{{CatExclusive|A}}     {{CatExclusive|any}}
Category Any anime.
Category Any anime.


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 Any anime.

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