Template:Eyecatch3/doc: Difference between revisions

From AniDB
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{TOCright}}
{{TOCright}}


==Examples==
This template creates three different category marker boxes informing the user when a category is exclusively ecchi, hentai, or both.
<div style="border: 1px dotted gray; text-align: center; background-color: #e2e2ff">
{{eyecatch|1|Features|Choose between the three <nowiki><type></nowiki>s, and optionally <nowiki><align></nowiki> them.}}
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>


{{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]]}}
==Syntax==
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.




<div style="border: 1px dotted gray; text-align: center; background-color: #e2e2ff">
==Example Category Markers==
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>
===The three <type>s of marker boxes===
<nowiki>{{eyecatch3|h}}</nowiki>
{{eyecatch3|h}}


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


{{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|hentai}}</nowiki>
{{eyecatch3|hentai}}


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


<div style="border: 1px dotted gray; text-align: center; background-color: #e2e2ff">
<nowiki>{{eyecatch3|E}}</nowiki>
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>
{{eyecatch3|E}}


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


{{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]]}}
<nowiki>{{eyecatch3|e&h}}</nowiki>
{{eyecatch3|e&h}}


<nowiki>{{eyecatch3|E&H}}</nowiki>
{{eyecatch3|e&h}}


<div style="border: 1px dotted gray; text-align: center; background-color: #e2e2ff">
<nowiki>{{eyecatch3|ecchi&hentai}}</nowiki>
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>
{{eyecatch3|ecchi&hentai}}




{{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_Length|Play Length]] | [[How to get started with creqing#Air.2FRelease_Date|Air/Release Date]] | [[How to get started with creqing#Description_2|Description]]}}
===The <align> used for indentation===
<nowiki>{{eyecatch3|e&h|1}}</nowiki> (indent level 1)
{{eyecatch3|e&h|1}}




<div style="border: 1px dotted gray; text-align: center; background-color: #e2e2ff">
===The <align>ment of the info boxes===
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>
<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...


{{eyecatch3|Groups| [[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]]}}
<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...