Template:Eyecatch3/doc: Difference between revisions

From AniDB
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 1: Line 1:
{{TOCright}}
{{TOCright}}
This template creates six different info boxes explaining how the weights for the current category or the current category section should be interpreted.
{{eyecatch|1|New|Choose between the six <nowiki><type></nowiki>s, and optionally <nowiki><align></nowiki> them.}}


==Alternative names==
This template creates three different category marker boxes informing the user when a category is exclusively ecchi, hentai, or both.
* <tt><nowiki>{{eyecatch3|<type>}}</nowiki></tt>
{{eyecatch|1|Features|Choose between the three <nowiki><type></nowiki>s, and optionally <nowiki><align></nowiki> them.}}
* <tt><nowiki>{{cwi|<type>}}</nowiki></tt> - alternate template name
* <tt><nowiki>{{eyecatch3|<type>|<align>}}</nowiki></tt>
* <tt><nowiki>{{cwi|<type>|<align>}}</nowiki></tt> - alternate template name


==Syntax==
==Syntax==
The template can have '''1''' or '''2 parameters''':
The template can have '''1''' or '''2 parameters''':
#{{m|eyecatch3|<type>}} - Default mode, no alignment!
#{{m|CatExclusive|<type>}} - Default mode, no alignment!
#{{m|eyecatch3|<type>|<align>}} - Define alignment via <align> parameter.
#{{m|CatExclusive|<type>|<align>}} - Define alignment via <align> parameter.
     '''<type>''' =  Define the type of weight info box you require:
     '''<type>''' =  Define the type category marker box you require:
              '''onoff'''       = The category weight is simply used as an on/off switch
                  '''e'''
              '''onoffSec'''     =  Same as onoff, but referring to the complete page/section.
                  '''E'''
               '''worstcase'''   = The worst case of category occurrence defines weight.
               '''ecchi''' = Ecchi only!
              '''worstcaseSec''' =  Same as worstcase, but referring to the complete page/section.
              '''amount'''      = The category weight is defined by the occurrence amount (default).
              '''amountSec'''    =  Same as amount, but referring to the complete page/section.
   
   
     '''<align>''' =  Should the info box be aligned? By default it is not a "float".
                  '''h'''
              '''left'''         = Aligns the info box to the left of the text.
                  '''H'''
               '''right'''       = Aligns the info box to the right of the text.
              '''hentai'''  =  Hentai only!
              '''1''' to '''6'''       = No alignment, instead defines level of indentation!
              '''none'''         = No entry, or any other entry will *not* align the info box.
                '''e&h'''
{{eyecatch|1|Note|Any '''<type>''' entry other than "onoff", "onoffSec", "worstcase", "worstcaseSec", or "amountSec" defaults to '''"amount"'''!<br>Any '''<align>''' entry other than "left" or "right" defaults to '''no''' alignment!}}
                '''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==
==Example Category Markers==
Line 61: Line 61:
  <nowiki>{{eyecatch3|e&h|1}}</nowiki> (indent level 1)
  <nowiki>{{eyecatch3|e&h|1}}</nowiki> (indent level 1)
{{eyecatch3|e&h|1}}
{{eyecatch3|e&h|1}}


===The <align>ment of the info boxes===
===The <align>ment of the info boxes===

Latest revision as of 12:44, 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...