Neidio i'r cynnwys

Modiwl:Table style/data

Oddi ar Wicidestun

Documentation for this module may be created at Modiwl:Table style/data/doc

local data = {
  ['ar'] = {
    style = 'text-align:right;',
    aliases = {'right', 'align right', 'right align'}
  },
  ['ac'] = {
    style = 'text-align:center;',
    aliases = {'center', 'centre', 'align center', 'center align', 'align centre', 'centre align'}
  },
  ['al'] = {
    style = 'text-align:left;',
    aliases = {'left', 'align left', 'left align'}
  },
  ['aj'] = {
    style = 'text-align:justify;',
    aliases = {'justify', 'align justify', 'justify align'}
  },


  ['bgt'] = {
    style = 'background-color:transparent;',
    aliases = {'transparent', 'transparency'}
  },


  ['bc'] = {
    style = 'border-collapse:collapse;',
    aliases = {'border collapse', 'collapse'}
  },
  ['bl'] = {
    style = 'border-left:1px solid black;',
    aliases = {'border left', 'left border'}
  },
  ['br'] = {
    style = 'border-right:1px solid black;',
    aliases = {'border right', 'right border'}
  },
  ['bt'] = {
    style = 'border-top:1px solid black;',
    aliases = {'border top', 'top border'}
  },
  ['bb'] = {
    style = 'border-bottom:1px solid black;',
    aliases = {'border bottom', 'bottom border'}
  },
  ['ba'] = {
    style = 'border:1px solid black;',
    aliases = {'border all', 'border'}
  },


  ['bn'] = {
    style = 'border:none;',
    aliases = {'border none', 'no border'}
  },


  ['btt'] = {
    style = 'border-top:0px solid transparent;',
    aliases = {}
  },
  ['bbt'] = {
    style = 'border-bottom:0px solid transparent;',
    aliases = {}
  },
  ['blt'] = {
    style = 'border-left:0px solid transparent;',
    aliases = {}
  },
  ['brt'] = {
    style = 'border-right:0px solid transparent;',
    aliases = {}
  },


  ['btt1'] = {
    style = 'border-top:1px solid transparent;',
    aliases = {}
  },
  ['bbt1'] = {
    style = 'border-bottom:1px solid transparent;',
    aliases = {}
  },
  ['blt1'] = {
    style = 'border-left:1px solid transparent;',
    aliases = {}
  },
  ['brt1'] = {
    style = 'border-right:1px solid transparent;',
    aliases = {}
  },


  ['ba2'] = {
    style = 'border:2px solid black;',
    aliases = {}
  },
  ['bl2'] = {
    style = 'border-left:2px solid black;',
    aliases = {}
  },
  ['br2'] = {
    style = 'border-right:2px solid black;',
    aliases = {}
  },
  ['bt2'] = {
    style = 'border-top:2px solid black;',
    aliases = {}
  },
  ['bb2'] = {
    style = 'border-bottom:2px solid black;',
    aliases = {}
  },


  ['ba3'] = {
    style = 'border:3px solid black;',
    aliases = {}
  },
  ['bl3'] = {
    style = 'border-left:3px solid black;',
    aliases = {}
  },
  ['br3'] = {
    style = 'border-right:3px solid black;',
    aliases = {}
  },
  ['bt3'] = {
    style = 'border-top:3px solid black;',
    aliases = {}
  },
  ['bb3'] = {
    style = 'border-bottom:3px solid black;',
    aliases = {}
  },


  ['bad'] = {
    style = 'border:4px double black;',
    aliases = {}
  },
  ['bld'] = {
    style = 'border-left:4px double black;',
    aliases = {}
  },
  ['brd'] = {
    style = 'border-right:4px double black;',
    aliases = {}
  },
  ['btd'] = {
    style = 'border-top:4px double black;',
    aliases = {}
  },
  ['bb4xd'] = {
    style = 'border-bottom:4px double black;',
    aliases = {'bbd'}
  },


  ['ba.'] = {
    style = 'border:1px dotted black;',
    aliases = {}
  },
  ['bl.'] = {
    style = 'border-left:1px dotted black;',
    aliases = {}
  },
  ['br.'] = {
    style = 'border-right:1px dotted black;',
    aliases = {}
  },
  ['br2.'] = {
    style = 'border-right:2px dotted black;',
    aliases = {}
  },
  ['bt.'] = {
    style = 'border-top:1px dotted black;',
    aliases = {}
  },
  ['bb.'] = {
    style = 'border-bottom:1px dotted black;',
    aliases = {}
  },
  ['bb2.'] = {
    style = 'border-bottom:2px dotted black;',
    aliases = {}
  },


  ['mc'] = {
    style = 'margin:0 auto 0 auto;',
    aliases = {'float', 'float center', 'float centre'}
  },


  ['ma'] = {
    style = 'margin-right:auto; margin-left:auto;',
    aliases = {}
  },


  ['ma5'] = {
    style = 'margin:5px;',
    aliases = {}
  },
  ['mt5'] = {
    style = 'margin-top:5px;',
    aliases = {}
  },
  ['mr5'] = {
    style = 'margin-right:5px;',
    aliases = {}
  },
  ['mb5'] = {
    style = 'margin-bottom:5px;',
    aliases = {}
  },
  ['ml5'] = {
    style = 'margin-left:5px;',
    aliases = {}
  },


  ['ma10'] = {
    style = 'margin:10px;',
    aliases = {}
  },
  ['mt10'] = {
    style = 'margin-top:10px;',
    aliases = {}
  },
  ['mr10'] = {
    style = 'margin-right:10px;',
    aliases = {}
  },
  ['mb10'] = {
    style = 'margin-bottom:10px;',
    aliases = {}
  },
  ['ml10'] = {
    style = 'margin-left:10px;',
    aliases = {}
  },


  ['lh90'] = {
    style = 'line-height:90%;',
    aliases = {'lh9'}
  },
  ['lh95'] = {
    style = 'line-height:95%;',
    aliases = {}
  },
  ['lh100'] = {
    style = 'line-height:100%;',
    aliases = {'lh1', 'lh10'}
  },
  ['lh110'] = {
    style = 'line-height:110%;',
    aliases = {'lh11'}
  },
  ['lh120'] = {
    style = 'line-height:120%;',
    aliases = {'lh12'}
  },
  ['lh130'] = {
    style = 'line-height:130%;',
    aliases = {'lh13'}
  },
  ['lh150'] = {
    style = 'line-height:150%;',
    aliases = {'lh15'}
  },
  ['lh200'] = {
    style = 'line-height:200%;',
    aliases = {'lh2', 'lh20'}
  },
  ['lh250'] = {
    style = 'line-height:250%;',
    aliases = {'lh25'}
  },
  ['lh300'] = {
    style = 'line-height:300%;',
    aliases = {'lh3'}
  },


  ['ffs'] = {
    style = 'font-family:serif;',
    aliases = {}
  },
  ['ffn'] = {
    style = 'font-family:sans-serif;',
    aliases = {}
  },


  ['sc'] = {
    style = 'font-variant:small-caps;',
    aliases = {'small caps', 'small capitals'}
  },


  ['fvn'] = {
    style = 'font-variant:normal;',
    aliases = {}
  },


  ['fs058'] = {
    style = 'font-size:58%;',
    aliases = {'xx-smaller', 'xxs'}
  },
  ['fs069'] = {
    style = 'font-size:69%;',
    aliases = {'x-smaller', 'xs'}
  },
  ['fs083'] = {
    style = 'font-size:83%;',
    aliases = {'smaller', 'sm'}
  },
  ['fs080'] = {
    style = 'font-size:80%;',
    aliases = {'sm80'}
  },
  ['fs085'] = {
    style = 'font-size:85%;',
    aliases = {'sm85'}
  },
  ['fs090'] = {
    style = 'font-size:90%;',
    aliases = {'sm90'}
  },
  ['fs092'] = {
    style = 'font-size:92%;',
    aliases = {'sm92'}
  },
  ['fs095'] = {
    style = 'font-size:95%;',
    aliases = {'sm95'}
  },
  ['fs105'] = {
    style = 'font-size:105%;',
    aliases = {}
  },
  ['fs110'] = {
    style = 'font-size:110%;',
    aliases = {'sm110'}
  },
  ['fs120'] = {
    style = 'font-size:120%;',
    aliases = {'larger', 'lg'}
  },
  ['fs144'] = {
    style = 'font-size:144%;',
    aliases = {'x-larger', 'xl'}
  },
  ['fs182'] = {
    style = 'font-size:182%;',
    aliases = {'xx-larger', '2xl', 'xxl'}
  },
  ['fs207'] = {
    style = 'font-size:207%;',
    aliases = {'xxx-larger', '3xl'}
  },
  ['fs249'] = {
    style = 'font-size:249%;',
    aliases = {'xxxx-larger', '4xl'}
  },
  ['fs260'] = {
    style = 'font-size:260%;',
    aliases = {}
  },
  ['fs280'] = {
    style = 'font-size:280%;',
    aliases = {}
  },
  ['fs300'] = {
    style = 'font-size:300%;',
    aliases = {}
  },


  ['uc'] = {
    style = 'text-transform:uppercase;',
    aliases = {'upper case', 'upper-case', 'uppercase'}
  },
  ['lc'] = {
    style = 'text-transform:lowercase;',
    aliases = {'lower case', 'lower-case', 'lowercase'}
  },
  ['cap'] = {
    style = 'text-transform:capitalize;',
    aliases = {'capitalise', 'capitalize'}
  },


  ['fll'] = {
    style = 'float:left;',
    aliases = {'float left'}
  },
  ['flr'] = {
    style = 'float:right;',
    aliases = {'float right'}
  },


  ['fsn'] = {
    style = 'font-style:normal;',
    aliases = {'roman'}
  },
  ['fsi'] = {
    style = 'font-style:italic;',
    aliases = {'italic', 'i'}
  },


  ['fwn'] = {
    style = 'font-weight:normal;',
    aliases = {'normal'}
  },
  ['fwb'] = {
    style = 'font-weight:bold;',
    aliases = {'bold', 'b'}
  },


  ['itp'] = {
    style = 'padding-left:2em; text-indent:-1em;',
    aliases = {}
  },
  ['itp.5'] = {
    style = 'padding-left:2.5em; text-indent:-2em;',
    aliases = {}
  },
  ['it1p.5'] = {
    style = 'padding-left:1.5em; text-indent:-1em;',
    aliases = {}
  },
  ['it1p2'] = {
    style = 'padding-left:3em; text-indent:-1em;',
    aliases = {}
  },
  ['it'] = {
    style = 'padding-left:2em; text-indent:-2em;',
    aliases = {}
  },
  ['it1'] = {
    style = 'padding-left:1em; text-indent:-1em;',
    aliases = {}
  },
  ['it42'] = {
    style = 'padding-left:4em; text-indent:-2em;',
    aliases = {}
  },


  ['pl0'] = {
    style = 'padding-left:0;',
    aliases = {}
  },
  ['pl.5'] = {
    style = 'padding-left:0.5em;',
    aliases = {}
  },
  ['pl1'] = {
    style = 'padding-left:1em;',
    aliases = {}
  },
  ['pl15'] = {
    style = 'padding-left:1.5em;',
    aliases = {}
  },
  ['pl2'] = {
    style = 'padding-left:2em;',
    aliases = {}
  },
  ['pl2.5'] = {
    style = 'padding-left:2.5em;',
    aliases = {}
  },
  ['pl3'] = {
    style = 'padding-left:3em;',
    aliases = {}
  },
  ['pl3.5'] = {
    style = 'padding-left:3.5em;',
    aliases = {}
  },
  ['pl4'] = {
    style = 'padding-left:4em;',
    aliases = {}
  },
  ['pl5'] = {
    style = 'padding-left:5em;',
    aliases = {}
  },
  ['pl6'] = {
    style = 'padding-left:6em;',
    aliases = {}
  },
  ['pl7'] = {
    style = 'padding-left:7em;',
    aliases = {}
  },


  ['pr0'] = {
    style = 'padding-right:0;',
    aliases = {}
  },
  ['pr.5'] = {
    style = 'padding-right:0.5em;',
    aliases = {}
  },
  ['pr1'] = {
    style = 'padding-right:1em;',
    aliases = {}
  },
  ['pr15'] = {
    style = 'padding-right:1.5em;',
    aliases = {}
  },
  ['pr2'] = {
    style = 'padding-right:2em;',
    aliases = {}
  },
  ['pr2.5'] = {
    style = 'padding-right:2.5em;',
    aliases = {}
  },
  ['pr3'] = {
    style = 'padding-right:3em;',
    aliases = {}
  },
  ['pr3.5'] = {
    style = 'padding-right:3.5em;',
    aliases = {}
  },
  ['pr4'] = {
    style = 'padding-right:4em;',
    aliases = {}
  },
  ['pr5'] = {
    style = 'padding-right:5em;',
    aliases = {}
  },
  ['pr6'] = {
    style = 'padding-right:6em;',
    aliases = {}
  },
  ['pr7'] = {
    style = 'padding-right:7em;',
    aliases = {}
  },


  ['pt0'] = {
    style = 'padding-top:0;',
    aliases = {}
  },
  ['ptb.5'] = {
    style = 'padding-top:0.5em; padding-bottom:0.5em;',
    aliases = {}
  },
  ['ptb1'] = {
    style = 'padding-top:1em; padding-bottom:1em;',
    aliases = {}
  },
  ['pt.5'] = {
    style = 'padding-top:0.5em;',
    aliases = {}
  },
  ['pt1'] = {
    style = 'padding-top:1em;',
    aliases = {}
  },
  ['pt15'] = {
    style = 'padding-top:1.5em;',
    aliases = {}
  },
  ['pt2'] = {
    style = 'padding-top:2em;',
    aliases = {}
  },
  ['pt3'] = {
    style = 'padding-top:3em;',
    aliases = {}
  },
  ['pt4'] = {
    style = 'padding-top:4em;',
    aliases = {}
  },
  ['pt5'] = {
    style = 'padding-top:5em;',
    aliases = {}
  },


  ['pb0'] = {
    style = 'padding-bottom:0;',
    aliases = {}
  },
  ['pb.5'] = {
    style = 'padding-bottom:0.5em;',
    aliases = {}
  },
  ['pb1'] = {
    style = 'padding-bottom:1em;',
    aliases = {}
  },
  ['pb15'] = {
    style = 'padding-bottom:1.5em;',
    aliases = {}
  },
  ['pb2'] = {
    style = 'padding-bottom:2em;',
    aliases = {}
  },
  ['pb3'] = {
    style = 'padding-bottom:3em;',
    aliases = {}
  },
  ['pb4'] = {
    style = 'padding-bottom:4em;',
    aliases = {}
  },
  ['pb5'] = {
    style = 'padding-bottom:5em;',
    aliases = {}
  },


  ['rtl'] = {
    style = 'direction:rtl;',
    aliases = {}
  },


  ['tds'] = {
    style = 'text-decoration:line-through;',
    aliases = {'strike'}
  },
  ['tdu'] = {
    style = 'text-decoration:underline;',
    aliases = {'underline'}
  },


  ['vtt'] = {
    style = 'vertical-align:text-top;',
    aliases = {'vertical align text top', 'text top'}
  },
  ['vtb'] = {
    style = 'vertical-align:text-bottom;',
    aliases = {'vertical align text bottom', 'text bottom'}
  },
  ['vtp'] = {
    style = 'vertical-align:top;',
    aliases = {'vertical align top', 'top'}
  },
  ['vbs'] = {
    style = 'vertical-align:baseline;',
    aliases = {'vertical align baseline', 'baseline'}
  },
  ['vbm'] = {
    style = 'vertical-align:bottom;',
    aliases = {'vertical align bottom', 'bottom'}
  },
  ['vmi'] = {
    style = 'vertical-align:middle;',
    aliases = {'vertical align middle', 'middle'}
  },


  ['wa'] = {
    style = 'width:100%;',
    aliases = {'width all', 'full width', 'full'}
  },
  ['w15'] = {
    style = 'width:15%;',
    aliases = {}
  },
  ['w20'] = {
    style = 'width:20%;',
    aliases = {}
  },
  ['w25'] = {
    style = 'width:25%;',
    aliases = {'quarter width', 'quarter'}
  },
  ['w30'] = {
    style = 'width:30%;',
    aliases = {}
  },
  ['w33'] = {
    style = 'width:33%;',
    aliases = {'third width', 'third'}
  },
  ['w40'] = {
    style = 'width:40%;',
    aliases = {}
  },
  ['w50'] = {
    style = 'width:50%;',
    aliases = {'half width', 'half'}
  },
  ['w60'] = {
    style = 'width:60%;',
    aliases = {}
  },
  ['w70'] = {
    style = 'width:70%;',
    aliases = {}
  },
  ['w67'] = {
    style = 'width:67%;',
    aliases = {'two thirds width', 'two thirds', 'two-thirds', 'two third', 'two-third'}
  },
  ['w75'] = {
    style = 'width:75%;',
    aliases = {'three quarter width', 'three quarter', 'three-quarter', 'three quarters', 'three-quarters'}
  },
  ['w80'] = {
    style = 'width:80%;',
    aliases = {}
  },
  ['w90'] = {
    style = 'width:90%;',
    aliases = {}
  },
  ['w100'] = {
    style = 'width:100em;',
    aliases = {}
  },
  ['w0'] = {
    style = 'width:0;',
    aliases = {'width narrow', 'narrow'}
  },


  ['wnw'] = {
    style = 'white-space:nowrap;',
    aliases = {'nowrap'}
  },
}
return data