Editing Template:RBE10K TableRows

Jump to: navigation, search

Warning: You are not logged in.

Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
{{#css:Template:RBE10K TableRows/css}}<includeonly>{{#css:
+
{| style="margin: 0px auto; border: 1px solid #{{{linecolour|000}}}; padding: 0; border-collapse: separate; border-spacing: 0; border-top: 0px; " width="99%"
 
+
| style="width: {{#if:{{{widths|}}}|{{explode:{{{widths}}}| |0}}|{{#switch:{{paramcount|x|x|{{{3|}}}|{{{4|}}}|{{{5|}}}}}|2=20|3=15|4=12|5=10}}}}%; vertical-align:top; border-style: solid;  border-width: {{#if:{{{header|}}}|1|0}}px 1px 0 0; border-color: #{{{linecolour|000}}}; background-color: #{{{bgcolour1|bbbbff}}};" | {{#if:{{{header|}}}|'''''{{{1|}}}'''''|{{{1|}}}}}
  .col{{{name|}}}1 {width:{{#if:{{{widths|}}}|{{#explode:{{{widths}}}| |0}}|{{#switch:{{paramcount|x|x|{{{3|}}}|{{{4|}}}|{{{5|}}}}}|2=20|3=15|4=12|5=10}}}}%; }
+
| style="width: {{#if:{{{widths|}}}|{{explode:{{{widths}}}| |1}}|{{#switch:{{paramcount|x|x|{{{3|}}}|{{{4|}}}|{{{5|}}}}}|2=80|3={{#if:{{{4|}}}|70|15}}|4=12|5=10}}}}%; vertical-align:top; border-style: solid;  border-width: {{#if:{{{header|}}}|1|0}}px {{#if:{{{3|}}}|1|0}}px 0 0; border-color: #{{{linecolour|000}}};" | {{#if:{{{header|}}}|'''''{{{2|}}}'''''|{{{2|}}}}}
.col{{{name|}}}2 {width:{{#if:{{{widths|}}}|{{#explode:{{{widths}}}| |1}}|{{#switch:{{paramcount|x|x|{{{3|}}}|{{{4|}}}|{{{5|}}}}}|2=80|3={{#if:{{{4|}}}|70|15}}|4=12|5=10}}}}%; }
+
| style="{{#if:{{{3|}}}|width: {{#if:{{{widths|}}}|{{explode:{{{widths}}}| |2}}|{{#switch:{{paramcount|x|x|x|{{{4|}}}|{{{5|}}}}}|3=70|4={{#if:{{{5|}}}|64|12}}|5=10}}}}%; vertical-align:top; border-style: solid;  border-width: {{#if:{{{header|}}}|1|0}}px {{#if:{{{4|}}}|1|0}}px 0 0; border-color: #{{{linecolour|000}}};|display:none;}}" | {{#if:{{{3|}}} | {{#if:{{{header|}}}|'''''{{{3|}}}'''''|{{{3|}}}}} }}
.col{{{name|}}}3 {width:{{#if:{{{widths|}}}|{{#explode:{{{widths}}}| |2}}|{{#switch:{{paramcount|x|x|x|{{{4|}}}|{{{5|}}}}}|3=70|4={{#if:{{{5|}}}|64|12}}|5=10}}}}%; }
+
| style="{{#if:{{{4|}}}|width: {{#if:{{{widths|}}}|{{explode:{{{widths}}}| |3}}|{{#switch:{{paramcount|x|x|x|x|{{{5|}}}}}|4=64|5=10}}}}%; vertical-align:top; border-style: solid;  border-width: {{#if:{{{header|}}}|1|0}}px {{#if:{{{5|}}}|1|0}}px 0 0; border-color: #{{{linecolour|000}}};|display:none;}}" | {{#if:{{{4|}}} | {{#if:{{{header|}}}|'''''{{{4|}}}'''''|{{{4|}}}}} }}
.col{{{name|}}}4 {width:{{#if:{{{widths|}}}|{{#explode:{{{widths}}}| |3}}|{{#switch:{{paramcount|x|x|x|x|{{{5|}}}}}|4=64|5=10}}}}%; }
+
| style="{{#if:{{{5|}}}|width: {{#if:{{{widths|}}}|{{explode:{{{widths}}}| |4}}|60}}%; vertical-align:top; border-style: solid;  border-width: {{#if:{{{header|}}}|1|0}}px {{#if:{{{6|}}}|1|0}}px 0 0; border-color: #{{{linecolour|000}}};|display:none;}}" | {{#if:{{{5|}}} | {{#if:{{{header|}}}|'''''{{{5|}}}'''''|{{{5|}}}}} }}
.col{{{name|}}}5 {width:{{#if:{{{widths|}}}|{{#explode:{{{widths}}}| |4}}|60}}%; }
+
| style="{{#if:{{{6|}}}|width: {{explode:{{{widths}}}| |5}}%; vertical-align:top; border-style: solid;  border-width: {{#if:{{{header|}}}|1|0}}px {{#if:{{{7|}}}|1|0}}px 0 0; border-color: #{{{linecolour|000}}};|display:none;}}" | {{#if:{{{6|}}} | {{#if:{{{header|}}}|'''''{{{6|}}}'''''|{{{6|}}}}} }}
.col{{{name|}}}6 {width:{{#explode:{{{widths}}}| |5}}%; }
+
| style="{{#if:{{{7|}}}|width: {{explode:{{{widths}}}| |6}}%; vertical-align:top; border-style: solid;  border-width: {{#if:{{{header|}}}|1|0}}px {{#if:{{{8|}}}|1|0}}px 0 0; border-color: #{{{linecolour|000}}};|display:none;}}" | {{#if:{{{7|}}} | {{#if:{{{header|}}}|'''''{{{7|}}}'''''|{{{7|}}}}} }}
.col{{{name|}}}7 {width:{{#explode:{{{widths}}}| |6}}%; }
+
| style="{{#if:{{{8|}}}|width: {{explode:{{{widths}}}| |7}}%; vertical-align:top; border-style: solid;  border-width: {{#if:{{{header|}}}|1|0}}px {{#if:{{{9|}}}|1|0}}px 0 0; border-color: #{{{linecolour|000}}};|display:none;}}" | {{#if:{{{8|}}} | {{#if:{{{header|}}}|'''''{{{8|}}}'''''|{{{8|}}}}} }}
.col{{{name|}}}8 {width:{{#explode:{{{widths}}}| |7}}%; }
+
| style="{{#if:{{{9|}}}|width: {{explode:{{{widths}}}| |8}}%; vertical-align:top; border-style: solid;  border-width: {{#if:{{{header|}}}|1|0}}px 0 0 0; border-color: #{{{linecolour|000}}};|display:none;}}" | {{#if:{{{9|}}} | {{#if:{{{header|}}}|'''''{{{9|}}}'''''|{{{9|}}}}} }}
.col{{{name|}}}9 {width:{{#explode:{{{widths}}}| |8}}%; }
+
|}
 
+
}}<div class="cols">
+
    <div class="row{{#if:{{{header|}}}|1|n}}f col{{{name|}}}1">{{#if:{{{header|}}}|'''''{{{1|}}}'''''|{{{1|}}}}}</div>
+
    <div class="row{{#if:{{{header|}}}|1|n}}{{#ifeq:{{{3|}}}|{{{3|-}}}|m|l}} col{{{name|}}}2">{{#if:{{{header|}}}|'''''{{{2|}}}'''''|{{{2|}}}}}</div>
+
{{#ifeq:{{{3|}}}|{{{3|-}}}|<div class="row{{#if:{{{header|}}}|1|n}}{{#ifeq:{{{4|}}}|{{{4|-}}}|m|l}} col{{{name|}}}3">{{#if:{{{header|}}}|'''''{{{3|}}}'''''|{{{3|}}}}}</div>|
+
}}{{#ifeq:{{{4|}}}|{{{4|-}}}|<div class="row{{#if:{{{header|}}}|1|n}}{{#ifeq:{{{5|}}}|{{{5|-}}}|m|l}} col{{{name|}}}4">{{#if:{{{header|}}}|'''''{{{4|}}}'''''|{{{4|}}}}}</div>|
+
}}{{#ifeq:{{{5|}}}|{{{5|-}}}|<div class="row{{#if:{{{header|}}}|1|n}}{{#ifeq:{{{6|}}}|{{{6|-}}}|m|l}} col{{{name|}}}5">{{#if:{{{header|}}}|'''''{{{5|}}}'''''|{{{5|}}}}}</div>|
+
}}{{#ifeq:{{{6|}}}|{{{6|-}}}|<div class="row{{#if:{{{header|}}}|1|n}}{{#ifeq:{{{7|}}}|{{{7|-}}}|m|l}} col{{{name|}}}6">{{#if:{{{header|}}}|'''''{{{6|}}}'''''|{{{6|}}}}}</div>|
+
}}{{#ifeq:{{{7|}}}|{{{7|-}}}|<div class="row{{#if:{{{header|}}}|1|n}}{{#ifeq:{{{8|}}}|{{{8|-}}}|m|l}} col{{{name|}}}7">{{#if:{{{header|}}}|'''''{{{7|}}}'''''|{{{7|}}}}}</div>|
+
}}{{#ifeq:{{{8|}}}|{{{8|-}}}|<div class="row{{#if:{{{header|}}}|1|n}}{{#ifeq:{{{9|}}}|{{{9|-}}}|m|l}} col{{{name|}}}8">{{#if:{{{header|}}}|'''''{{{8|}}}'''''|{{{8|}}}}}</div>|
+
}}{{#ifeq:{{{9|}}}|{{{9|-}}}|<div class="row{{#if:{{{header|}}}|1|n}}l col{{{name|}}}9">{{#if:{{{header|}}}|'''''{{{9|}}}'''''|{{{9|}}}}}</div>|
+
}}</div>
+
</includeonly><noinclude><!-- To implement later: border-color: #{{{linecolour|000}}}; background-color: #{{{bgcolour|bbbbff}}}; -->
+
<div class="cols">
+
    <div class="row1f col1">'''''header'''''</div>
+
    <div class="row1m col2">'''''widths'''''</div>
+
    <div class="row1m col3">'''''linecolour '''''</div>
+
    <div class="row1l col4">'''''bgcolour'''''</div>
+
</div>
+
<div class="cols">
+
    <div class="rownf col1">Any value for header row</div>
+
    <div class="rownm col2">List of percent widths separated by spaces (just the numbers without the % symbol)</div>
+
    <div class="rownm col3">Colour of the lines</div>
+
    <div class="rownl col4">Background colour of the first row</div>
+
</div></noinclude>
+

Please note that all contributions to The Crowdsourced Resource-Based Economy Knowledgebase are considered to be released under the Creative Commons Zero (Public Domain) (see RBEMWiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox
Share