Predložak:Markup/doc

Izvor: Hrvatska internetska enciklopedija
Skoči na:orijentacija, traži
  1. REDIRECTPredložak:TOC desno

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

TemplateData

Parametri predloška

ParametarOpisVrstaStanje
margin-leftmargin-left

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

Zadano
0
Nizneobvezno
widthwidth

To set the table's overall width.

Zadano
100%
Nizneobvezno
stylestyle

For CSS styles amending the table's overall appearance.

Nizneobvezno
noheadersnoheaders

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

Nizneobvezno
titletitle

Title above table.

Nizneobvezno
colheaderstylecolheaderstyle

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

Nizneobvezno
col1headerstylecol1headerstyle

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

Nizneobvezno
col1col1

First column (markup/code)'s heading.

Zadano
"Markup"
Nizneobvezno
col2headerstylecol2headerstyle

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

Nizneobvezno
col2col2

Second column (output)'s heading.

Zadano
"Renders as"
Nizneobvezno
codestylecodestyle markupstyle

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

Nizneobvezno
outputstyleoutputstyle

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

Nizneobvezno
11

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

Nizneobvezno
22

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

Nizneobvezno
33

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

Nizneobvezno
44

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

Nizneobvezno
3939

First column's content in last possible row.

Nizneobvezno
4040

Second column's content in last possible row.

Nizneobvezno