Template:Eyecatch3/doc

From AniDB
Jump to navigation Jump to search

This template creates six different info boxes explaining how the weights for the current category or the current category section should be interpreted.

New Choose between the six <type>s, and optionally <align> them.

Alternative names

  • {{eyecatch3|<type>}}
  • {{cwi|<type>}} - alternate template name
  • {{eyecatch3|<type>|<align>}}
  • {{cwi|<type>|<align>}} - alternate template name

Syntax

The template can have 1 or 2 parameters:

  1. {{eyecatch3|<type>}} - Default mode, no alignment!
  2. {{eyecatch3|<type>|<align>}} - Define alignment via <align> parameter.
    <type> =  Define the type of weight info box you require:
              onoff        = The category weight is simply used as an on/off switch
              onoffSec     =   Same as onoff, but referring to the complete page/section.
              worstcase    = The worst case of category occurrence defines weight.
              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".
              left         = Aligns the info box to the left of the text.
              right        = Aligns the info 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.
Note Any <type> entry other than "onoff", "onoffSec", "worstcase", "worstcaseSec", or "amountSec" defaults to "amount"!
Any <align> entry other than "left" or "right" defaults to no alignment!

Example Category Weight Info Boxes

The six <type>s of info boxes

{{eyecatch3|onoffSec}}
Category Ecchi & hentai only!
{{eyecatch3|onoff}}
Category Ecchi & hentai only!
{{eyecatch3|amountSec}}  (this is the default)
Category Ecchi & hentai only!
{{eyecatch3|amount}}  (this is the default)
Category Ecchi & hentai only!
{{eyecatch3|worstcaseSec}} (default align is NONE!)
Category Ecchi & hentai only!
{{eyecatch3|worstcase}} (default align is NONE!)
Category Ecchi & hentai only!

The <align> used for indentation

{{eyecatch3|amount|1}} (indent level 1)
Category Ecchi & hentai only!

The <align>ment of the info boxes

{{eyecatch3|onoff|right}}
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...

{{eyecatch3|amount|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...