Template:Eyecatch3/doc: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
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===
1,633

edits

Navigation menu

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.