Predložak:Markup

Izvor: Wikipedija

This template is used to present markup or code side by side with the output it renders.

TemplateData[uredi kôd]

Parametri predloška[Uredi dokumentaciju predloška]

ParametarOpisVrstaStanje
margin-leftmargin-left

To set a margin on the table's lefthand side.

Podrazumijevana vrijednost
0
Tekstneobvezno
widthwidth

To set the table's overall width.

Podrazumijevana vrijednost
100%
Tekstneobvezno
stylestyle

For CSS styles amending the table's overall appearance.

Tekstneobvezno
noheadersnoheaders

Set (as e.g. noheaders=on) to suppress the columns' headings and table's title.

Tekstneobvezno
titletitle

Title above table.

Tekstneobvezno
colheaderstylecolheaderstyle

For CSS styling to amend the appearance of each column's heading.

Tekstneobvezno
col1headerstylecol1headerstyle

For CSS styling to amend the appearance of the first column's heading. Overrides (but does not replace) colheaderstyle.

Tekstneobvezno
col1col1

First column (markup/code)'s heading.

Podrazumijevana vrijednost
"Markup"
Tekstneobvezno
col2headerstylecol2headerstyle

For CSS styling to amend the appearance of the second column's heading. Overrides (but does not replace) colheaderstyle.

Tekstneobvezno
col2col2

Second column (output)'s heading.

Podrazumijevana vrijednost
"Renders as"
Tekstneobvezno
codestylecodestyle markupstyle

For CSS styles amending the presentation of the first column (markup/code)'s content (e.g. a smaller font-size).

Tekstneobvezno
outputstyleoutputstyle

For CSS styles amending the presentation of the second column (output)'s content.

Tekstneobvezno
11

row 1, first column (markup/code)'s content.

Tekstneobvezno
22

row 1, second column (output)'s content.

Tekstneobvezno
33

row 2, first column's content (etc).

Tekstneobvezno
44

row 2, second column's content (etc).

Tekstneobvezno
3939

First column's content in last possible row.

Tekstneobvezno
4040

Second column's content in last possible row.

Tekstneobvezno