Difference between revisions of "User:Pixie/Sandbox"

From The Inquisition Legacy
Jump to: navigation, search
 
Line 1: Line 1:
== Userbox test with table ==
+
== Timeline Test (Disabled with nowiki flags) ==
{| style="float:right; margin-left: 30px;"
 
|{{userbox
 
|bgcolor=#5882FA
 
|bordercolor=#5882FA
 
|icon=File:NobleIcon.png
 
|field=is a member of the '''Nobility'''}}
 
|-
 
|{{userbox
 
|bgcolor=#F22222
 
|bordercolor=#000000
 
|icon=File:OrderIcon.png
 
|field=plays a member of '''The Order'''}}
 
|-
 
|{{userbox
 
|bgcolor=#FACC2E
 
|bordercolor=#000000
 
|icon=File:MerchIcon.png
 
|field=plays a '''Merchant'''}}
 
|-
 
|{{userbox
 
|bgcolor=#04B4AE
 
|bordercolor=#000000
 
|icon=File:ReeveIcon.png
 
|field=plays a '''Reeve member'''}}
 
|-
 
|{{userbox
 
|bgcolor=#BDBDBD
 
|bordercolor=#000000
 
|icon=File:ModIcon.png
 
|field=is a Portal '''Moderator'''}}
 
|-
 
|{{userbox
 
|bgcolor=#9A2EFE
 
|bordercolor=#000000
 
|icon=File:ManusIcon.png
 
|field=plays '''Rubeus Manus'''}}
 
|-
 
|{{userbox
 
|bgcolor=#848484
 
|bordercolor=#000000
 
|icon=File:ThiefIcon.png
 
|field=plays in the '''Brotherhood'''}}
 
|}
 
  
This is some content lalalala.
+
<nowiki>
 +
<timeline>
 +
# All measures are in pixels
 +
 
 +
ImageSize  = width:160 height:550
 +
PlotArea  = left:50 right:0 bottom:10 top:10
 +
AlignBars  = justify
 +
 
 +
DateFormat = yyyy
 +
Period    = from:1919 till:1991
 +
TimeAxis  = orientation:vertical
 +
ScaleMajor = unit:year increment:5 start:1920
 +
 
 +
# there is no automatic collision detection,
 +
# so shift texts up or down manually to avoid overlap
 +
 
 +
Define $dx = 25 # shift text to right side of bar
 +
 
 +
PlotData=
 +
  bar:Leaders color:red width:25 mark:(line,white) align:left fontsize:S
 +
 
 +
  from:start till:1922 shift:($dx,15)  text:Vladimir~Ilyich~Lenin
 +
  from:1922  till:1953 shift:($dx,5)    text:Stalin
 +
  from:1953  till:1964 shift:($dx,5)    text:Khrushchev
 +
  from:1964  till:1982 shift:($dx,5)    text:Brezhnev
 +
  from:1982  till:1984 shift:($dx,-12)  text:Andropov
 +
  from:1984  till:1985 shift:($dx,4)    text:Chernenko fontsize:XS
 +
  from:1985  till:end  shift:($dx,10)  text:Gorbachev
 +
</timeline>
 +
</nowiki>

Latest revision as of 20:17, 15 September 2016

Timeline Test (Disabled with nowiki flags)

<timeline> # All measures are in pixels ImageSize = width:160 height:550 PlotArea = left:50 right:0 bottom:10 top:10 AlignBars = justify DateFormat = yyyy Period = from:1919 till:1991 TimeAxis = orientation:vertical ScaleMajor = unit:year increment:5 start:1920 # there is no automatic collision detection, # so shift texts up or down manually to avoid overlap Define $dx = 25 # shift text to right side of bar PlotData= bar:Leaders color:red width:25 mark:(line,white) align:left fontsize:S from:start till:1922 shift:($dx,15) text:Vladimir~Ilyich~Lenin from:1922 till:1953 shift:($dx,5) text:Stalin from:1953 till:1964 shift:($dx,5) text:Khrushchev from:1964 till:1982 shift:($dx,5) text:Brezhnev from:1982 till:1984 shift:($dx,-12) text:Andropov from:1984 till:1985 shift:($dx,4) text:Chernenko fontsize:XS from:1985 till:end shift:($dx,10) text:Gorbachev </timeline>