Template:Eyecatch3: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
 
(65 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#switch: {{{1}}}
<includeonly>{| cellspacing="0" cellpadding="0" style="{{#switch: {{#if: {{{2|}}} | {{{2}}} | }}
  | 1 = :
  | left = clear:left;
  | 2 = ::
  | right = clear:right;
  | 3 = :::
|
  | 4 = ::::
}} {{#switch: {{#if: {{{2|}}} | {{{2}}} | }}
  | 5 = :::::
  | left = float:left;
  | 6 = ::::::
  | right = float:right;
  |  
|
}}{| style="background: #E8E8E8;"
}} {{#switch: {{#if: {{{2|}}} | {{{2}}} | }}
| style="background: #000000; padding-bottom: 2px; padding-left: 8px; padding-right: 8px;" | <span style="color: white; font-weight: bold;">{{{2}}}</span>
  | left = margin-bottom:.5em; padding: .5em 1.4em .5em 0;
| style="padding-bottom: 2px; width: 100%;" | ''{{{3}}}''
  | right = margin-bottom:.5em; padding: .5em 0 .5em 1.4em;
|}<noinclude>
  |
Alas <tt>eyecatch</tt> does not let you indent the "eye-catcher bar" by pre-pending "<tt>:</tt>". The special version <tt>'''eyecatch2'''</tt> indents by one ":" though.
}}"
 
|
''Example code:'' <tt><nowiki>{{eyecatch2|Note|Blah blah blah.}}</nowiki></tt>
{{#if: {{{2|}}}|{{indent|{{{2}}}}}|}}{| style="background:#{{CatWcolBackground|{{#switch: {{{1}}}
{{eyecatch3|0|Note|Indent 0 (no indent, same as <tt>eyecatch</tt>).}}
| e
{{eyecatch3|1|Note|Indent 1 (one indent, same as <tt>eyecatch2</tt>).}}
| E
{{eyecatch3|2|Note|Indent 2.}}
| ecchi = onoff
{{eyecatch3|3|Note|Indent 3.}}
| h
{{eyecatch3|4|Note|Indent 4.}}
| H
{{eyecatch3|5|Note|Indent 5.}}
| hentai = worstcase
{{eyecatch3|6|Note|Indent 6 (max).}}
| h&e
 
| H&E
[[Category:Template]]</noinclude>
| ecchi&hentai
| amount
}}}}; border:1px solid #{{CatWcolFrame|{{{1}}}}}; font-size:90%;"
| style="background:black; padding:2px 6px; text-align:center;"   | <span style="color:white; font-weight:bold;">Category</span>
| style="background:#{{CatWcolFrame|{{#switch: {{{1}}}
| e
| E
| ecchi = onoff
| h
| H
| hentai = worstcase
| h&e
| H&E
| ecchi&hentai
| amount
}}}}; padding:2px 6px; text-align:center;" | <span style="color:black;">{{#switch: {{{1}}}
| e
| E
| ecchi = Ecchi only!
| h
| H
| hentai = Hentai only!
| h&e
| H&E
| ecchi&hentai
| Ecchi & hentai only!
}}</span>
|}
|}</includeonly><noinclude>{{{{PAGENAME}}/doc}}[[Category:Category Weight]]</noinclude>
1,633

edits

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