Vorlage:Rawinclude

Aus Stratum 0
Version vom 23:53, 12. Okt. 2014 von Daniel Bohrer (Diskussion | Beiträge)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu:Navigation, Suche

Includes a wiki page inside a <pre> environment, and adds a download link to the source of the page.

Usage:

{{rawinclude|''pagename''}}

Further parameters:

title
What is shown in the download link, can be given as second anonymous parameter too.
fold
If set, the <pre> environment is constrained to a height of 200px, and a vertical scrollbar is added when neccessary.

Example:

{{rawinclude|RepRap/Slicer/Configs/larsan.ini|larsan.ini|fold=y}}
Icon text-x-generic.png larsan.ini (Download)
[[:RepRap/Configs/Slic3r/larsan.ini]]