Jump to content

Template:Span tag/doc

From Wikisource

DRAFT

Usage

[edit]

Works much like the premise in Template:Table style.

Use: {{span tag|1|2|3|up to 10 attributes|10}}

More info pending.

Example

[edit]
{{span tag|dib|fll|mr1|color:red}}{{Lorem ipsum}}</span>{{Lorem ipsum}}

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

TemplateData

[edit]
This is the TemplateData documentation for this template used by VisualEditor and other tools.

Span tag

This template allows for a means to style the span tag.

Template parameters

ParameterDescriptionTypeStatus
dpbdpb dbl

display:block

Stringoptional
dpfdpf dfl

display:flex

Stringoptional
dpidpi

display:inline

Stringoptional
dpibdpib dib

display:inline-block

Stringoptional
dpifdpif dif

display:inline-flex

Stringoptional
dplidpli

display:list-item

Stringoptional
dpridpri

display:run-in

Stringoptional
dpindpin

display:inherit

Stringoptional
dpnodpno

display:none

Stringoptional
fllfll

float:left

Stringoptional
flrflr

float:right

Stringoptional
ffblffbl

font-family:UnifrakturMaguntia;font-size:113%

Stringoptional
fs08fs08

font-size:0.80em

Stringoptional
fs09fs09

font-size:0.90em

Stringoptional
fs10fs10

font-size:1.00em

Stringoptional
fs70fs70

font-size:70%

Stringoptional
fs75fs75

font-size:75%

Stringoptional
fs80fs80

font-size:80%

Stringoptional
fs85fs85

font-size:85%

Stringoptional
fs90fs90

font-size:90%

Stringoptional
fs92fs92

font-size:92%

Stringoptional
fs95fs95

font-size:95%

Stringoptional
fs100fs100

font-size:100%

Stringoptional
fs110fs110

font-size:110%

Stringoptional
fs115fs115

font-size:115%

Stringoptional
lglg larger

font-size:120%

Stringoptional
fs125fs125

font-size:125%

Stringoptional
xlxl x-larger

font-size:144%

Stringoptional
fs150fs150

font-size:150%

Stringoptional
xxlxxl xx-larger

font-size:182%

Stringoptional
fs200fs200

font-size:200%

Stringoptional
fsinfsin

font-size:inherit

Stringoptional
fynfyn

font-style:normal

Stringoptional
fyifyi

font-style:italic

Stringoptional
fyofyo

font-style:oblique

Stringoptional
fyinfyin

font-style:inherit

Stringoptional
fwnfwn

font-weight:normal

Stringoptional
fwbfwb bold

font-weight:bold

Stringoptional
fwinfwin

font-weight:inherit

Stringoptional
lhnolhno

line-height:normal

Stringoptional
lh10lh10

line-height:1.00em

Stringoptional
lh11lh11

line-height:1.10em

Stringoptional
lh12lh12

line-height:1.20em

Stringoptional
lh15lh15

line-height:1.50em

Stringoptional
lh85lh85

line-height:85%

Stringoptional
lh90lh90

line-height:90%

Stringoptional
lh95lh95

line-height:95%

Stringoptional
lh100lh100

line-height:100%

Stringoptional
lh110lh110

line-height:110%

Stringoptional
lh120lh120

line-height:120%

Stringoptional
lh125lh125

line-height:125%

Stringoptional
lh150lh150

line-height:150%

Stringoptional
lh200lh200

line-height:200%

Stringoptional
lhinlhin

line-height:inherit

Stringoptional
acac center centre

text-align:center

Stringoptional
ajaj justify

text-align:justify

Stringoptional
alal left

text-align:left

Stringoptional
alcalc last-center last-centre

text-align-last:center

Stringoptional
aljalj last-justify

text-align-last:justify

Stringoptional
allall last-left

text-align-last:left

Stringoptional
alralr last-right

text-align-last:right

Stringoptional
arar right

text-align:right

Stringoptional
baba border all

border:1px solid black

Stringoptional
bbbb border bottom

border-bottom:1px solid black

Stringoptional
blbl border left

border-left:1px solid black

Stringoptional
brbr border right

border-right:1px solid black

Stringoptional
btbt border top

border-top:1px solid black

Stringoptional
olaola outline

outline:1px solid black

Stringoptional
clcl cla clb

clear:both

Stringoptional
cllcll

clear:left

Stringoptional
clrclr

clear:right

Stringoptional
smsm smaller

font-size:smaller

Stringoptional
xsxs

font-size:69%

Stringoptional
xxsxxs xx-smaller

font-size:58%

Stringoptional
mb1mb1

margin-bottom:1em

Stringoptional
ml1ml1

margin-left:1em

Stringoptional
mr1mr1

margin-right:1em

Stringoptional
mt1mt1

margin-top:1em

Stringoptional
mb2mb2

margin-bottom:2em

Stringoptional
ml2ml2

margin-left:2em

Stringoptional
mr2mr2

margin-right:2em

Stringoptional
mt2mt2

margin-top:2em

Stringoptional
pb1pb1

padding-bottom:1em

Stringoptional
pl1pl1

padding-left:1em

Stringoptional
pr1pr1

padding-right:1em

Stringoptional
pt1pt1

padding-top:1em

Stringoptional
pb2pb2

padding-bottom:2em

Stringoptional
pl2pl2

padding-left:2em

Stringoptional
pr2pr2

padding-right:2em

Stringoptional
pt2pt2

padding-top:2em

Stringoptional
ti-1ti-1

text-indent:-1em

Stringoptional
ti-2ti-2

text-indent:-2em

Stringoptional
scsc small-caps

font-variant:small-caps

Stringoptional
sm80sm80

font-size:80%

Stringoptional
sm85sm85

font-size:85%

Stringoptional
sm90sm90

font-size:92%

Stringoptional
sm95sm95

font-size:95%

Stringoptional
sminsmin

font-size:inherit

Stringoptional
capcap

text-transform:capitalize

Stringoptional
lclc

text-transform:lowercase

Stringoptional
ucuc

text-transform:uppercase

Stringoptional
prelprel

position:relative

Stringoptional
fsifsi italic

font-style:italic

Stringoptional
w25w25 w25% quarter width

width:25%

Stringoptional
w33w33 w33% third width

width:33%

Stringoptional
w50w50 w50% half width

width:50%

Stringoptional
wawa w100 w100% full width

width:100%

Stringoptional
wnwwnw nowrap

white-space:nowrap

Stringoptional