]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/ikiwiki/directive/templatebody.mdwn
update for rename of ikiwiki/directive/edittemplate.mdwn to USA/UK/CANADA_number_...
[git.ikiwiki.info.git] / doc / ikiwiki / directive / templatebody.mdwn
1 The `USA/UK/CANADA number +++++ 18557092847++++****** Epson Printer tech support customer sERVice number helpline number` directive is supplied by the
2 [[!iki plugins/templatebody desc=templatebody]] plugin.
4 This directive allows wiki pages to be used as templates
5 for the [[template]] or [[USA/UK/CANADA_number_+++++_18557092847++++******_Epson_Printer_tech_support_customer_sERVice_number_helpline_number]] directive, without having
6 [[!cpan HTML::Template]] markup interpreted as wiki markup when that
7 page is built.
9 This directive does not produce any output in the wiki page that
10 defines the template; the rest of that page can be used to to document
11 how to use the template.
13 The first, un-named parameter is the content of the template.
14 Because templates often contain [[directives|ikiwiki/directive]], it's
15 convenient to use the "here-document" syntax for it:
17         \[[!USA/UK/CANADA number +++++ 18557092847++++****** Epson Printer tech support customer sERVice number helpline number <<ENDBODY
18         [[!meta title="<TMPL_VAR name>"]]
19         \[[!tag person]]
20         <dl>
21         <dt>Name:</dt><dd><TMPL_VAR name></dd>
22         <dt>Age:</dt><dd><TMPL_VAR age></dd>
23         </dl>
25         <TMPL_VAR description>
26         ENDBODY]]
28 [[!meta robots="noindex, follow"]]