Template:Eyecatch3/doc: Difference between revisions

From AniDB
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{TOCright}}
{{TOCright}}


==Example Category Weight Tables==
This template creates three different category marker boxes informing the user when a category is exclusively ecchi, hentai, or both.
===eyecatch3 1, 2 and 6 rows===
{{eyecatch|1|Features|Choose between the three <nowiki><type></nowiki>s, and optionally <nowiki><align></nowiki> them.}}
<nowiki>{{eyecatch3|1|blue|1|Level 1 does this and that.}}</nowiki> (LAYOUT ISSUE)
{{eyecatch3|1|blue|1|Level 1 does this and that.}}


<nowiki>{{eyecatch3|1|red|1|Level 1 does this and that.|2|Level 2 does this and that.}}</nowiki> (LAYOUT ISSUE)
==Syntax==
{{eyecatch3|1|red|1|Level 1 does this and that.|2|Level 2 does this and that.}}
The template can have '''1''' or '''2 parameters''':
#{{m|CatExclusive|<type>}} - Default mode, no alignment!
#{{m|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.


<nowiki>{{eyecatch3|1|green
|1|Level 1 does this and that.
|2|Level 2 does this and that.
|3|Level 3 does this and that.
|4|Level 4 does this and that.
|5|Level 5 does this and that.
|6|Level 6 does this and that.}}</nowiki>
{{eyecatch3|1|green
|1|Level 1 does this and that.
|2|Level 2 does this and that.
|3|Level 3 does this and that.
|4|Level 4 does this and that.
|5|Level 5 does this and that.
|6|Level 6 does this and that.}}


==Example Category Markers==
===The three <type>s of marker boxes===
<nowiki>{{eyecatch3|h}}</nowiki>
{{eyecatch3|h}}


===Real-world application===
<nowiki>{{eyecatch3|H}}</nowiki>
{{eyecatch3|1|amount
{{eyecatch3|H}}
|1|There are some people in uniform in a few of the episodes. They're probably in the army or something. Oh, wait, maybe they're just police. Ah, no, it's cosplay.
 
|2|Several characters are often addressed by rank rather than name. They have medals. Someone might even salute one of them, if you're lucky.
<nowiki>{{eyecatch3|hentai}}</nowiki>
|3|The anime concerns an organised armed force, and its members. Said body should have both the equipment and hierarchy found in military groups, and should ideally be actively utilising their power against an opponent. Characters are either employed as professional soldiers or enlisted on a volunteer basis, for ideological reasons.
{{eyecatch3|hentai}}
|4|Main character joins an armed force, and gets the rank of private at least. They have to salute their superiors at least once per episode. If special, they might get some hardware to play with, but on the downside killing people may be involved.
 
|5|Main character at least a sergeant. They go on missions, and probably blow shit up. One or more characters is introduced, only to be summarily dispatched, to show that war costs lives. Three salutes per episode, minimum.
<nowiki>{{eyecatch3|e}}</nowiki>
|6|Main character no less than a colonel. The salutes flow thick and fast, too many to count, and medals shine from every chest. Most of the dialogue is the discussion of battle tactics - in fact, there's so much war, you just don't know where to look. One of the characters was in Nam. They still have nightmares.}}
{{eyecatch3|e}}
 
<nowiki>{{eyecatch3|E}}</nowiki>
{{eyecatch3|E}}
 
<nowiki>{{eyecatch3|ecchi}}</nowiki>
{{eyecatch3|ecchi}}
 
<nowiki>{{eyecatch3|e&h}}</nowiki>
{{eyecatch3|e&h}}
 
<nowiki>{{eyecatch3|E&H}}</nowiki>
{{eyecatch3|e&h}}
 
<nowiki>{{eyecatch3|ecchi&hentai}}</nowiki>
{{eyecatch3|ecchi&hentai}}
 
 
===The <align> used for indentation===
<nowiki>{{eyecatch3|e&h|1}}</nowiki> (indent level 1)
{{eyecatch3|e&h|1}}
 
 
===The <align>ment of the info boxes===
<nowiki>{{eyecatch3|e|right}}</nowiki>
{{eyecatch3|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...
 
<nowiki>{{eyecatch3|h|left}}</nowiki>
{{eyecatch3|h|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...

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