{{TDoc}} is a small collection of templates that can be used to lay out the documentation of other templates. This is useful to developers of templates interested in documenting their work.
These templates provide basic styling for documentation pages within the box produced by the {{Documentation}} template. To take effect, {{TDoc/i/Doc header}} should be placed at the top of the documentation page and {{TDoc/i/Doc footer}}.
This includes:
Painting the background white.
Limiting the length of lines to 50 ems, to make the text easier to read.
Intended for text that provides additional but unessential information, this template produces a text box, shifted to the right, containing text with reduced font size.
For example:
Ecce autem Inachiis sese referebat ab Argis saeua Iouis coniunx aurasque inuecta tenebat, et laetum Aenean classemque ex aethere longe Dardaniam Siculo prospexit ab usque Pachyno. moliri iam tecta uidet, iam fidere terrae, deseruisse rates: stetit acri fixa dolore.
Sometimes, one might want to clarify a point or provide some background about the topic at hand. That type of information will be of interest to the more curious reader, but it may be skipped without impairing overall comprehension of the topic.
Sic memorat; simul Aenean in regia ducit tecta, simul divom templis indicit honorem. Nec minus interea sociis ad litora mittit viginti tauros, magnorum horrentia centum terga suum, pinguis centum cum matribus agnos, munera laetitiamque dii.
Ecce autem Inachiis sese referebat ab Argis saeua Iouis coniunx aurasque inuecta tenebat, et laetum Aenean classemque ex aethere longe Dardaniam Siculo prospexit ab usque Pachyno. moliri iam tecta uidet, iam fidere terrae, deseruisse rates: stetit acri fixa dolore.
Intended for illustrative runs of templates, this template produces a text box reminiscent of a top of page. Optionally, it frames the supplied content with filler paragraphs. The view can be scaled up or down.
For example:
Ecce autem Inachiis sese referebat ab Argis saeua Iouis coniunx aurasque inuecta tenebat, et laetum Aenean classemque ex aethere longe Dardaniam Siculo prospexit ab usque Pachyno. moliri iam tecta uidet, iam fidere terrae, deseruisse rates: stetit acri fixa dolore.
Sometimes, one might want to clarify a point or provide some background about the topic at hand. That type of information will be of interest to the more curious reader, but it may be skipped without impairing overall comprehension of the topic.
Sic memorat; simul Aenean in regia ducit tecta, simul divom templis indicit honorem. Nec minus interea sociis ad litora mittit viginti tauros, magnorum horrentia centum terga suum, pinguis centum cum matribus agnos, munera laetitiamque dii.
Ecce autem Inachiis sese referebat ab Argis saeua Iouis coniunx aurasque inuecta tenebat, et laetum Aenean classemque ex aethere longe Dardaniam Siculo prospexit ab usque Pachyno. moliri iam tecta uidet, iam fidere terrae, deseruisse rates: stetit acri fixa dolore.
Sometimes, one might want to clarify a point or provide some background about the topic at hand. That type of information will be of interest to the more curious reader, but it may be skipped without impairing overall comprehension of the topic.
Sic memorat; simul Aenean in regia ducit tecta, simul divom templis indicit honorem. Nec minus interea sociis ad litora mittit viginti tauros, magnorum horrentia centum terga suum, pinguis centum cum matribus agnos, munera laetitiamque dii.
Ecce autem Inachiis sese referebat ab Argis saeua Iouis coniunx aurasque inuecta tenebat, et laetum Aenean classemque ex aethere longe Dardaniam Siculo prospexit ab usque Pachyno. moliri iam tecta uidet, iam fidere terrae, deseruisse rates: stetit acri fixa dolore.
Sometimes, one might want to clarify a point or provide some background about the topic at hand. That type of information will be of interest to the more curious reader, but it may be skipped without impairing overall comprehension of the topic.
Sic memorat; simul Aenean in regia ducit tecta, simul divom templis indicit honorem. Nec minus interea sociis ad litora mittit viginti tauros, magnorum horrentia centum terga suum, pinguis centum cum matribus agnos, munera laetitiamque dii.
Intended for code samples that illustrate how to use a template, this template produces a collapsible table, collapsed by default to reduce visual clutter on documentation pages. It is designed to be used immediately after a call to {{TDoc/i/Sample output}} to show how the sample output was obtained.
For example:
Ecce autem Inachiis sese referebat ab Argis saeua Iouis coniunx aurasque inuecta tenebat, et laetum Aenean classemque ex aethere longe Dardaniam Siculo prospexit ab usque Pachyno. moliri iam tecta uidet, iam fidere terrae, deseruisse rates: stetit acri fixa dolore.
Sometimes, one might want to clarify a point or provide some background about the topic at hand. That type of information will be of interest to the more curious reader, but it may be skipped without impairing overall comprehension of the topic.
Code for the example above (click to expand)
{{TDoc/i/Detail|text=Often, one may want to clarify a point or provide some background about the topic at hand. That type of information will be of interest to the more curious reader, but it may be skipped without impairing overall comprehension of the topic.}}
Sic memorat; simul Aenean in regia ducit tecta, simul divom templis indicit honorem. Nec minus interea sociis ad litora mittit viginti tauros, magnorum horrentia centum terga suum, pinguis centum cum matribus agnos, munera laetitiamque dii.