Template:Foo: Difference between revisions

From Katawa Shoujo Wiki

imported>TheWallflower00
No edit summary
imported>TheWallflower00
No edit summary
Line 16: Line 16:
<td style="vertical-align:center;">
<td style="vertical-align:center;">
[[{{NAMESPACE}}:{{BASEPAGENAME}}{{!}}
[[{{NAMESPACE}}:{{BASEPAGENAME}}{{!}}
<span>{{{tab1}}}</span>]]
<span style="color:{{{alttextcolor|}}};">{{{tab1}}}</span>]]
</td>
</tr>
</table>
</div>
}}{{#if:{{{tab2| }}}|
{{#ifeq:{{SUBPAGENAME}}|{{{tab2}}}|
<div style="min-width:5.0em; max-width:12em; float:left; border:1.5px solid gray; -moz-border-radius-topright: 4px; -moz-border-radius-topleft: 4px; border-top-right-radius: 4px; border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; -webkit-border-top-left-radius: 4px; padding: .0em 0.5em; height:3.8em; margin-bottom:10px; background-color:#DDDDDD; color: black; font-size:100%;">
<table style="height:100%;width:100%;">
<tr>
<td style="vertical-align:center;">
<span style="color:black;">{{#if:{{{title2| }}}|{{{title2}}}|{{{tab2}}} }}</span>
</td>
</tr>
</table>
</div>
|
<div style="min-width:5.0em; max-width:12em; float:left; border:1.5px solid gray; -moz-border-radius-topright: 4px; -moz-border-radius-topleft: 4px; border-top-right-radius: 4px; border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; -webkit-border-top-left-radius: 4px; padding: .0em 0.5em; height:3.8em; margin-bottom:10px; background-color:transparent;">
<table style="height:100%;width:100%;">
<tr>
<td style="vertical-align:center;">
[[{{NAMESPACE}}:{{BASEPAGENAME}}/{{{tab2}}}{{!}}
<span style="color:{{{alttextcolor|}}};">{{#if:{{{title2| }}}|{{{title2}}}|{{{tab2}}} }}</span>]]
</td>
</td>
</tr>
</tr>

Revision as of 22:35, 19 January 2017

{{{tab1}}}



Template documentation (for the above template, sometimes hidden or invisible)

content1

content2

<foo> [CHOICE]= [CONTENT]|-| [CHOICE]= [CONTENT]|-| </foo>

Example Text 3

Example Text 4

<foo> Inner Tab 1 = Example Text 3 |-| Inner Tab 2 = Example Text 4 </foo>


Visit Template:Foo/doc to edit this text! (How does this work?)