Template:Eyecatch3: Difference between revisions

From AniDB
Jump to navigation Jump to search
No edit summary
m (Testing code for horizontal navigation bar.)
Line 1: Line 1:
<includeonly>{{#if: {{{14|}}} | {{indent|{{{1}}}}}{{{!}} style="background:#{{CatWcolBackground|{{{2}}}}}; border:1px solid #{{CatWcolFrame|{{{2}}}}}; font-size:90%;"
<includeonly><div style="border:1px dotted gray; text-align:center; background-color:#e2e2ff">{{#switch: {{{1}}}
{{!}} style="background:black; padding:2px 8px;" {{!}} <span style="color:white; font-weight:bold;">Category&nbsp;Weight</span>
| - =  
{{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{3}}}}}</tt></span>
| &nbsp;'''{{{1}}}'''
{{!}} style="padding:2px 8px;" {{!}} ''{{{4}}}''
}}Quick Jump: {{{1}}}{{#if: {{{2|}}}| {{!}} {{{2}}}|}}{{#if: {{{3|}}}| {{!}} {{{3}}}|}}{{#if: {{{4|}}}| {{!}} {{{4}}}|}}{{#if: {{{5|}}}| {{!}} {{{5}}}|}}{{#if: {{{6|}}}| {{!}} {{{6}}}|}}{{#if: {{{7|}}}| {{!}} {{{7}}}|}}{{#if: {{{8|}}}| {{!}} {{{8}}}|}}{{#if: {{{9|}}}| {{!}} {{{9}}}|}}{{#if: {{{10|}}}| {{!}} {{{10}}}|}}{{#if: {{{11|}}}| {{!}} {{{11}}}|}}{{#if: {{{12|}}}| {{!}} {{{12}}}|}}
{{!}}-
{{#if: {{{13|}}}| {{!}} {{{13}}}|}}{{#if: {{{14|}}}| {{!}} {{{14}}}|}}{{#if: {{{15|}}}| {{!}} {{{15}}}|}}</div></includeonly><noinclude>
{{!}} style="padding:2px 8px;" {{!}} &nbsp;
 
{{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{5}}}}}</tt></span>
<div style="border: 1px dotted gray; text-align: center; background-color: #e2e2ff">
{{!}} style="padding:2px 8px;" {{!}} ''{{{6}}}''
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>
{{!}}-
 
{{!}} style="padding:2px 8px;" {{!}} &nbsp;
{{eyecatch3|-|
{{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{7}}}}}</tt></span>
[[How to get started with creqing#Files|Files]]|
{{!}} style="padding:2px 8px;" {{!}} ''{{{8}}}''
[[How to get started with creqing#Anime|Anime]]|
{{!}}-
[[How to get started with creqing#Episodes_2|Episodes]]|
{{!}} style="padding:2px 8px;" {{!}} &nbsp;
[[How to get started with creqing#Groups|Groups]]}}
{{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{9}}}}}</tt></span>
 
{{!}} style="padding:2px 8px;" {{!}} ''{{{10}}}''
 
{{!}}-
{{{{PAGENAME}}/doc}}[[Category:Template]] [[Category:Text Module]]</noinclude>
{{!}} style="padding:2px 8px;" {{!}} &nbsp;
{{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{11}}}}}</tt></span>
{{!}} style="padding:2px 8px;" {{!}} ''{{{12}}}''
{{!}}-
{{!}} style="padding:2px 8px;" {{!}} &nbsp;
{{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{13}}}}}</tt></span>
{{!}} style="padding:2px 8px;" {{!}} ''{{{14}}}''
{{!}}} | {{#if: {{{12|}}} | {{indent|{{{1}}}}}{{{!}} style="background:#{{CatWcolBackground|{{{2}}}}}; border:1px solid #{{CatWcolFrame|{{{2}}}}}; font-size:90%;"
{{!}} style="background:black; padding:2px 8px;" {{!}} <span style="color:white; font-weight:bold;">Category&nbsp;Weight</span>
{{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{3}}}}}</tt></span>
{{!}} style="padding:2px 8px;" {{!}} ''{{{4}}}''
{{!}}-
{{!}} style="padding:2px 8px;" {{!}} &nbsp;
{{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{5}}}}}</tt></span>
{{!}} style="padding:2px 8px;" {{!}} ''{{{6}}}''
{{!}}-
{{!}} style="padding:2px 8px;" {{!}} &nbsp;
{{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{7}}}}}</tt></span>
{{!}} style="padding:2px 8px;" {{!}} ''{{{8}}}''
{{!}}-
{{!}} style="padding:2px 8px;" {{!}} &nbsp;
{{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{9}}}}}</tt></span>
{{!}} style="padding:2px 8px;" {{!}} ''{{{10}}}''
{{!}}-
{{!}} style="padding:2px 8px;" {{!}} &nbsp;
{{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{11}}}}}</tt></span>
{{!}} style="padding:2px 8px;" {{!}} ''{{{12}}}''
{{!}}} | {{#if: {{{10|}}} | {{indent|{{{1}}}}}{{{!}} style="background:#{{CatWcolBackground|{{{2}}}}}; border:1px solid #{{CatWcolFrame|{{{2}}}}}; font-size:90%;"
{{!}} style="background:black; padding:2px 8px;" {{!}} <span style="color:white; font-weight:bold;">Category&nbsp;Weight</span>
{{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{3}}}}}</tt></span>
{{!}} style="padding:2px 8px;" {{!}} ''{{{4}}}''
{{!}}-
{{!}} style="padding:2px 8px;" {{!}} &nbsp;
{{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{5}}}}}</tt></span>
{{!}} style="padding:2px 8px;" {{!}} ''{{{6}}}''
{{!}}-
{{!}} style="padding:2px 8px;" {{!}} &nbsp;
{{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{7}}}}}</tt></span>
{{!}} style="padding:2px 8px;" {{!}} ''{{{8}}}''
{{!}}-
{{!}} style="padding:2px 8px;" {{!}} &nbsp;
{{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{9}}}}}</tt></span>
{{!}} style="padding:2px 8px;" {{!}} ''{{{10}}}''
{{!}}} | {{#if: {{{8|}}} | {{indent|{{{1}}}}}{{{!}} style="background:#{{CatWcolBackground|{{{2}}}}}; border:1px solid #{{CatWcolFrame|{{{2}}}}}; font-size:90%;"
{{!}} style="background:black; padding:2px 8px;" {{!}} <span style="color:white; font-weight:bold;">Category&nbsp;Weight</span>
{{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{3}}}}}</tt></span>
{{!}} style="padding:2px 8px;" {{!}} ''{{{4}}}''
{{!}}-
{{!}} style="padding:2px 8px;" {{!}} &nbsp;
{{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{5}}}}}</tt></span>
{{!}} style="padding:2px 8px;" {{!}} ''{{{6}}}''
{{!}}-
{{!}} style="padding:2px 8px;" {{!}} &nbsp;
{{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{7}}}}}</tt></span>
{{!}} style="padding:2px 8px;" {{!}} ''{{{8}}}''
{{!}}} | {{#if: {{{6|}}} | {{indent|{{{1}}}}}{{{!}} style="background:#{{CatWcolBackground|{{{2}}}}}; border:1px solid #{{CatWcolFrame|{{{2}}}}}; font-size:90%;"
{{!}} style="background:black; padding:2px 8px;" {{!}} <span style="color:white; font-weight:bold;">Category&nbsp;Weight</span>
{{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{3}}}}}</tt></span>
{{!}} style="padding:2px 8px;" {{!}} ''{{{4}}}''
{{!}}-
{{!}} style="padding:2px 8px;" {{!}} &nbsp;
{{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{5}}}}}</tt></span>
{{!}} style="padding:2px 8px;" {{!}} ''{{{6}}}''
{{!}}} | {{#if: {{{4|}}} | {{indent|{{{1}}}}}{{{!}} style="background:#{{CatWcolBackground|{{{2}}}}}; border:1px solid #{{CatWcolFrame|{{{2}}}}}; font-size:90%;"
{{!}} style="background:black; padding:2px 8px;" {{!}} <span style="color:white; font-weight:bold;">Category&nbsp;Weight</span>
{{!}} style="background:#{{CatWcolFrame|{{{2}}}}}; padding:2px 8px;" {{!}} <span style="color:black; font-weight:bold;"><tt>{{CatWweight|{{{3}}}}}</tt></span>
{{!}} style="padding:2px 8px;" {{!}} ''{{{4}}}''
{{!}}} }} }} }} }} }} }}</includeonly><noinclude>{{{{PAGENAME}}/doc}}[[Category:Template]] [[Category:Text Module]]</noinclude>

Revision as of 18:41, 6 May 2009


Quick Jump: Files | Anime | Episodes | Groups
Quick Jump: -|

Files| Anime| Episodes| Groups


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}}
 hQuick Jump: h
{{eyecatch3|H}}
 HQuick Jump: H
{{eyecatch3|hentai}}
 hentaiQuick Jump: hentai
{{eyecatch3|e}}
 eQuick Jump: e
{{eyecatch3|E}}
 EQuick Jump: E
{{eyecatch3|ecchi}}
 ecchiQuick Jump: ecchi
{{eyecatch3|e&h}}
 e&hQuick Jump: e&h
{{eyecatch3|E&H}}
 e&hQuick Jump: e&h
{{eyecatch3|ecchi&hentai}}
 ecchi&hentaiQuick Jump: ecchi&hentai


The <align> used for indentation

{{eyecatch3|e&h|1}} (indent level 1)
 e&hQuick Jump: e&h| 1


The <align>ment of the info boxes

{{eyecatch3|e|right}}
 eQuick Jump: 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|h|left}}
 hQuick Jump: 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...