v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "Template:RTL"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Finally found the problem... ToDo: IE test)
Line 1: Line 1:
<noinclude><div style="float: right; padding: 0.5em; margin: 0.25em; border: 1px solid #ccc; background: #eee"></noinclude>style="padding: 0;"|<div style="color: {{#if:{{{1|}}}|{{{1}}}|#000}}; background: {{#if:{{{3|}}}|{{{3}}}|{{#if:{{{2|}}}|transparent|{{{1}}}}}}}; position:relative; font-size: 135%; font-family: 'Courier New', 'Quicktype Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', 'Lucida Sans Typewriter', monospace">{{#if:{{{2|}}}|'''{{{2}}}'''|'''█'''}}{{#if:{{{4|}}}|<div style="position: absolute; left: 0em; top: 1ex; color:{{#if:{{{5|}}}|{{{5}}}|red}}; font-size: 60%; font-family: 'Helvetica'; text-align: {{#if:{{{6|}}}|{{{6}}}|right}}; width: 100%;">{{{4}}}</div>|}}</div><noinclude></div>
+
<noinclude><div style="float: right; padding: 0.5em; margin: 0.25em; border: 1px solid #ccc; background: #eee"></noinclude>style="padding: 0;"|<div style="color: {{#if:{{{1|}}}|{{{1}}}|#000}}; background: {{#if:{{{3|}}}|{{{3}}}|{{#if:{{{2|}}}|transparent|{{{1}}}}}}}; position:relative; font-size: 135%; font-family: 'Courier New', 'Quicktype Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', 'Lucida Sans Typewriter', monospace">{{#if:{{{2|}}}|'''{{{2}}}'''|'''█'''}}{{#if:{{{4|}}}|<div style="position: absolute; left: 0em; top: 0ex; color:{{#if:{{{5|}}}|{{{5}}}|#FF0}}; font-size: 60%; font-family: 'Helvetica'; text-align: {{#if:{{{6|}}}|{{{6}}}|right}}; width: 100%;">{{{4}}}</div>|}}{{#if:{{{7|}}}|<div style="position: absolute; left: 0em; top: 0ex; color:{{#if:{{{8|}}}|{{{8}}}|#0FF}}; font-size: 60%; font-family: 'Helvetica'; text-align: {{#if:{{{9|}}}|{{{9}}}|right}}; width: 100%;">{{{7}}}</div>|}}</div><noinclude></div>
  
 
Flexible template for building complex diagramms with wiki tables.
 
Flexible template for building complex diagramms with wiki tables.
Line 9: Line 9:
 
{| style="border-spacing: 0;"
 
{| style="border-spacing: 0;"
 
|-
 
|-
|{{RTL|<character-color>|<character>|<background-color>|<superior>|<superior-color>|<superior-align>}}
+
|{{RTL|<character-color>|<character>|<background-color>|<superior>|<superior-color>|<superior-align>|<inferior>|<inferior-color>|<inferior-align>}}
 
|}
 
|}
 
</nowiki>
 
</nowiki>
Line 17: Line 17:
 
* background-color:transparent
 
* background-color:transparent
 
* superior:
 
* superior:
* superior-color:#F00
+
* superior-color:#000
 
* superuor-align:right (left|center|right|justify)
 
* superuor-align:right (left|center|right|justify)
 +
* inferior:
 +
* inferior-color:#000
 +
* inferuor-align:right (left|center|right|justify)
 
</pre>
 
</pre>
  
Line 58: Line 61:
 
|}
 
|}
 
<nowiki>
 
<nowiki>
{{RTL|#808|^|#CCC|1|#00F}
+
{{RTL|#808|^|#CCC|1|#F00}
 
</nowiki>
 
</nowiki>
 
{| style="border-spacing: 0;"
 
{| style="border-spacing: 0;"
 
|-
 
|-
|{{RTL|#808|^|#CCC|1|#00F}}
+
|{{RTL|#808|^|#CCC|1|#F00}}
 
|}
 
|}
 
<nowiki>
 
<nowiki>
{{RTL|#808|^|#CCC|1|#00F|left}}
+
{{RTL|#808|^|#CCC|1|#F00|left}}
 
</nowiki>
 
</nowiki>
 
{| style="border-spacing: 0;"
 
{| style="border-spacing: 0;"
 
|-
 
|-
|{{RTL|#808|^|#CCC|1|#00F|left}}
+
|{{RTL|#808|^|#CCC|1|#F00|left}}
 +
|}
 +
<nowiki>
 +
{{RTL|#808|^|#CCC|1|#F00|left|7}}
 +
</nowiki>
 +
{| style="border-spacing: 0;"
 +
|-
 +
|{{RTL|#808|^|#CCC|1|#F00|left|7}}
 +
|}
 +
<nowiki>
 +
{{RTL|#808|^|#CCC|1|#F00|left|7|#0FF}}
 +
</nowiki>
 +
{| style="border-spacing: 0;"
 +
|-
 +
|{{RTL|#808|^|#CCC|1|#F00|left|7|#0FF}}
 +
|}
 +
<nowiki>
 +
{{RTL|#808|^|#CCC|1|#F00|left|7|#0FF|left}}
 +
</nowiki>
 +
{| style="border-spacing: 0;"
 +
|-
 +
|{{RTL|#808|^|#CCC|1|#F00|left|7|#0FF|left}}
 
|}
 
|}
 
<br />
 
<br />

Revision as of 13:58, 14 December 2009

style="padding: 0;"|

Flexible template for building complex diagramms with wiki tables.

Usage


{| style="border-spacing: 0;"
|-
|{{RTL|<character-color>|<character>|<background-color>|<superior>|<superior-color>|<superior-align>|<inferior>|<inferior-color>|<inferior-align>}}
|}

Default:
* character-color:#000
* character:█
* background-color:transparent
* superior:
* superior-color:#000
* superuor-align:right (left|center|right|justify)
* inferior:
* inferior-color:#000
* inferuor-align:right (left|center|right|justify)

Usage

{{RTL}}

{{RTL|#808}}

{{RTL|#808|^}}

^

{{RTL|#808|^|#CCC}}

^

{{RTL|#808|^|#CCC|1}}

^
1

{{RTL|#808|^|#CCC|1|#F00}

^
1

{{RTL|#808|^|#CCC|1|#F00|left}}

^
1

{{RTL|#808|^|#CCC|1|#F00|left|7}}

^
1
7

{{RTL|#808|^|#CCC|1|#F00|left|7|#0FF}}

^
1
7

{{RTL|#808|^|#CCC|1|#F00|left|7|#0FF|left}}

^
1
7


Examples


÷
÷
>


1
2
3