Template:Eyecatch3: Difference between revisions

From AniDB
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly><div style="border:1px solid #{{CatWcolFrame|blue}}; text-align:center; background-color:#{{CatWcolBackground|blue}}; padding:2px 8px;">''{{#switch: {{{1}}}
<includeonly>{| cellspacing="0" cellpadding="0" style="{{#switch: {{#if: {{{2|}}} | {{{2}}} | }}
  | - =  
  | left = clear:left;
  | '''{{{1}}}'''&nbsp;
  | right = clear:right;
}}Quick Jump:'' {{{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>{{{{PAGENAME}}/doc}}[[Category:Template]] [[Category:Text Module]]</noinclude>
|
}} {{#switch: {{#if: {{{2|}}} | {{{2}}} | }}
| left = float:left;
| right = float:right;
|
}} {{#switch: {{#if: {{{2|}}} | {{{2}}} | }}
| left =  margin-bottom:.5em; padding: .5em 1.4em .5em 0;
| right = margin-bottom:.5em; padding: .5em 0 .5em 1.4em;
|
}}"
|
{{#if: {{{2|}}}|{{indent|{{{2}}}}}|}}{| style="background:#{{CatWcolBackground|{{{1}}}}}; border:1px solid #{{CatWcolFrame|{{{1}}}}}; width:250px; font-size:90%;"
| style="background:black; padding:2px; text-align:center;"    | <span style="color:white; font-weight:bold;">Category Weight</span>
| style="background:#{{CatWcolFrame|{{{1}}}}}; padding:2px; text-align:center;"  | <span style="color:black; font-weight:bold;"><tt>{{#switch: {{{1}}}
| onoffSec
| onoffSecOne
| onoff = - or &#42;&#42;&#42;
| worstcaseSec
| worstcase
| amountSec
| amount
| + to &#42;&#42;&#42;
}}</tt></span>
|-
| style="padding:2px; text-align:center;" colspan="2" | ''{{#switch: {{{1}}}
| onoff =  If applicable, this category should be weighted with '''<tt>***</tt>''' (on). Otherwise do '''not''' set it at all!
| onoffSec = If one or more categories in this section are applicable they should be weighted with '''<tt>***</tt>''' (on). Otherwise do '''not''' set them!
| onoffSecOne = Only '''one''' of the categories in this section is applicable and should be weighted with '''<tt>***</tt>''' (on). Otherwise do '''not''' set any of them!
| worstcase = If applicable, choose a weight between '''<tt>+</tt>''' (slight) to '''<tt>***</tt>''' (excessive) describing the '''worst case''' of category occurrence in the anime.
| worstcaseSec = For all the categories in this section choose (if applicable) a weight between '''<tt>+</tt>''' (slight) to '''<tt>***</tt>''' (excessive) describing the '''worst case''' of specific category occurrence in the anime.
| amountSec = For all the categories in this section choose (if applicable) a weight between '''<tt>+</tt>''' (seldom) to '''<tt>***</tt>''' (abundant) denoting '''how often''' the specific category occurs in the anime.
| amount
| If applicable, choose a weight between '''<tt>+</tt>''' (seldom) to '''<tt>***</tt>''' (abundant) denoting '''how often''' the category occurs in the anime.
}}''
|}
|}</includeonly><noinclude>
 
{{eyecatch3|H|right}}
 
 
 
{{{{PAGENAME}}/doc}}[[Category:Category Weight]]</noinclude>

Revision as of 11:46, 15 May 2009


Category Weight + to ***
If applicable, choose a weight between + (seldom) to *** (abundant) denoting how often the category occurs in the anime.



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 Weight + to ***
If applicable, choose a weight between + (seldom) to *** (abundant) denoting how often the category occurs in the anime.
{{eyecatch3|H}}
Category Weight + to ***
If applicable, choose a weight between + (seldom) to *** (abundant) denoting how often the category occurs in the anime.
{{eyecatch3|hentai}}
Category Weight + to ***
If applicable, choose a weight between + (seldom) to *** (abundant) denoting how often the category occurs in the anime.
{{eyecatch3|e}}
Category Weight + to ***
If applicable, choose a weight between + (seldom) to *** (abundant) denoting how often the category occurs in the anime.
{{eyecatch3|E}}
Category Weight + to ***
If applicable, choose a weight between + (seldom) to *** (abundant) denoting how often the category occurs in the anime.
{{eyecatch3|ecchi}}
Category Weight + to ***
If applicable, choose a weight between + (seldom) to *** (abundant) denoting how often the category occurs in the anime.
{{eyecatch3|e&h}}
Category Weight + to ***
If applicable, choose a weight between + (seldom) to *** (abundant) denoting how often the category occurs in the anime.
{{eyecatch3|E&H}}
Category Weight + to ***
If applicable, choose a weight between + (seldom) to *** (abundant) denoting how often the category occurs in the anime.
{{eyecatch3|ecchi&hentai}}
Category Weight + to ***
If applicable, choose a weight between + (seldom) to *** (abundant) denoting how often the category occurs in the anime.


The <align> used for indentation

{{eyecatch3|e&h|1}} (indent level 1)
Category Weight + to ***
If applicable, choose a weight between + (seldom) to *** (abundant) denoting how often the category occurs in the anime.


The <align>ment of the info boxes

{{eyecatch3|e|right}}
Category Weight + to ***
If applicable, choose a weight between + (seldom) to *** (abundant) denoting how often the category occurs in the anime.

blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah 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 Weight + to ***
If applicable, choose a weight between + (seldom) to *** (abundant) denoting how often the category occurs in the anime.

blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah...