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.}}


==Examples==
==Alternative names==
<div style="border: 1px dotted gray; text-align: center; background-color: #e2e2ff">
* <tt><nowiki>{{eyecatch3|<type>}}</nowiki></tt>  
Quick Jump: [[How to get started with creqing#Files|Files]] | [[How to get started with creqing#Anime|Anime]] | [[How to get started with creqing#Episodes_2|Episodes]] | [[How to get started with creqing#Groups|Groups]]</div>
* <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==
The template can have '''1''' or '''2 parameters''':
#{{m|eyecatch3|<type>}} - Default mode, no alignment!
#{{m|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.
{{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!}}


{{eyecatch3|-|[[How to get started with creqing#Files|Files]]|[[How to get started with creqing#Anime|Anime]]|[[How to get started with creqing#Episodes_2|Episodes]]|[[How to get started with creqing#Groups|Groups]]}}
==Example Category Weight Info Boxes==
===The six <type>s of info boxes===
<nowiki>{{eyecatch3|onoffSec}}</nowiki>
{{eyecatch3|onoffSec}}


<nowiki>{{eyecatch3|onoff}}</nowiki>
{{eyecatch3|onoff}}


<div style="border: 1px dotted gray; text-align: center; background-color: #e2e2ff">
<nowiki>{{eyecatch3|amountSec}}</nowiki> (this is the default)
Files Quick Jump: [[How to get started with creqing#|Top]] | [[How to get started with creqing#Sources|Sources]] | [[How to get started with creqing#Length|Length]] | [[How to get started with creqing#Hashes|Hashes]] | [[How to get started with creqing#Version|Version]] | [[How to get started with creqing#Censored|Censored]] | [[How to get started with creqing#Group|Group]] | [[How to get started with creqing#Released|Release Date]] | [[How to get started with creqing#Audio|Audio]] | [[How to get started with creqing#Video|Video]] | [[How to get started with creqing#Subtitles|Subtitles]]</div>
{{eyecatch3|amountSec}}


<nowiki>{{eyecatch3|amount}}</nowiki>  (this is the default)
{{eyecatch3|amount}}


{{eyecatch3|Files| [[How to get started with creqing#|Top]] | [[How to get started with creqing#Sources|Sources]] | [[How to get started with creqing#Length|Length]] | [[How to get started with creqing#Hashes|Hashes]] | [[How to get started with creqing#Version|Version]] | [[How to get started with creqing#Censored|Censored]] | [[How to get started with creqing#Group|Group]] | [[How to get started with creqing#Released|Release Date]] | [[How to get started with creqing#Audio|Audio]] | [[How to get started with creqing#Video|Video]] | [[How to get started with creqing#Subtitles|Subtitles]]}}
<nowiki>{{eyecatch3|worstcaseSec}}</nowiki> (default align is NONE!)
{{eyecatch3|worstcaseSec}}


<nowiki>{{eyecatch3|worstcase}}</nowiki> (default align is NONE!)
{{eyecatch3|worstcase}}


<div style="border: 1px dotted gray; text-align: center; background-color: #e2e2ff">
===The <align> used for indentation===
Anime Quick Jump: [[How to get started with creqing#|Top]] | [[How to get started with creqing#Sources 2|Sources]] | [[How to get started with creqing#Titles|Titles]] | [[How to get started with creqing#Genres/Categories|Genres/Categories]] | [[How to get started with creqing#Type 2|Type]] | [[How to get started with creqing#Episodes|Episodes]] | [[How to get started with creqing#Year|Year]] | [[How to get started with creqing#Companies|Companies]] | [[How to get started with creqing#URL|URL]] | [[How to get started with creqing#ANN.2FANFO.2FAllcinema|ANN/ANFO/allcinema]] | [[How to get started with creqing#Relations|Relations]] | [[How to get started with creqing#Description|Description]] | [[How to get started with creqing#Picture|Picture]]</div>
<nowiki>{{eyecatch3|amount|1}}</nowiki> (indent level 1)
{{eyecatch3|amount|1}}


===The <align>ment of the info boxes===
<nowiki>{{eyecatch3|onoff|right}}</nowiki>
{{eyecatch3|onoff|right}}


{{eyecatch3|Anime| [[How to get started with creqing#|Top]] | [[How to get started with creqing#Sources 2|Sources]] | [[How to get started with creqing#Titles|Titles]] | [[How to get started with creqing#Genres/Categories|Genres/Categories]] | [[How to get started with creqing#Type 2|Type]] | [[How to get started with creqing#Episodes|Episodes]] | [[How to get started with creqing#Year|Year]] | [[How to get started with creqing#Companies|Companies]] | [[How to get started with creqing#URL|URL]] | [[How to get started with creqing#ANN.2FANFO.2FAllcinema|ANN/ANFO/allcinema]] | [[How to get started with creqing#Relations|Relations]] | [[How to get started with creqing#Description|Description]] | [[How to get started with creqing#Picture|Picture]]}}
blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah 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>{{eyecatch3|amount|left}}</nowiki>
<div style="border: 1px dotted gray; text-align: center; background-color: #e2e2ff">
{{eyecatch3|amount|left}}
Episodes Quick Jump: [[How to get started with creqing#|Top]] | [[How to get started with creqing#Sources_3|Sources]] | [[How to get started with creqing#Titles_2|Titles]] | [[How to get started with creqing#Play_Length|Play Length]] | [[How to get started with creqing#Air.2FRelease_Date|Air/Release Date]] | [[How to get started with creqing#Description_2|Description]]</div>
blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah 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|Episodes| [[How to get started with creqing#|Top]] | [[How to get started with creqing#Sources_3|Sources]] | [[How to get started with creqing#Titles_2|Titles]] | [[How to get started with creqing#Play_Lehttp://wiki.anidb.net/w/Template:Eyecatch3/docngth|Play Length]] | [[How to get started with creqing#Air.2FRelease_Date|Air/Release Date]] | [[How to get started with creqing#Description_2|Description]]}}
 
 
<div style="border: 1px dotted gray; text-align: center; background-color: #e2e2ff">
Groups Quick Jump: [[How to get started with creqing#|Top]] | [[How to get started with creqing#Sources_4|Sources]] | [[How to get started with creqing#Name.2FShortName|Name/ShortName]] | [[How to get started with creqing#URL 2|URL]] | [[How to get started with creqing#EMAIL|EMAIL]] | [[How to get started with creqing#IRC|IRC]] | [[How to get started with creqing#Picture 2|Picture]] | [[How to get started with creqing#Description_3|Description]] | [[How to get started with creqing#Parent.2FChild_Groups|Parent/Child Groups]] | [[How to get started with creqing#Group-anime-status|Group-anime-status]]</div>

Revision as of 11:46, 15 May 2009

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