Template:Book
From open-support.info
(Difference between revisions)
m |
m |
||
Line 29: | Line 29: | ||
}}{{#if:{{#var:main}} | }}{{#if:{{#var:main}} | ||
|{{ #vardefine:mrev|{{{master rev|}}} | |{{ #vardefine:mrev|{{{master rev|}}} | ||
- | }}{{#vardefine:head|{{#if:{{{heading|}}}|{{{heading}}}|{{#show:{{#main}}|?book heading}}}} | + | }}{{#vardefine:head|{{#if:{{{heading|}}}|{{{heading}}}|{{#show:{{#var:main}}|?book heading}}}} |
- | }}{{#vardefine:titl|{{#if:{{{title|}}} |{{{title}}} |{{#show:{{#main}}|?book title}}}} | + | }}{{#vardefine:titl|{{#if:{{{title|}}} |{{{title}}} |{{#show:{{#var:main}}|?book title}}}} |
- | }}{{#vardefine:next|{{#if:{{{next|}}} |{{{next}}} |{{#show:{{#main}}|?book next}}}} | + | }}{{#vardefine:next|{{#if:{{{next|}}} |{{{next}}} |{{#show:{{#var:main}}|?book next}}}} |
- | }}{{#vardefine:desc|{{#if:{{{desc|}}} |{{{desc}}} |{{#show:{{#main}}|?description}}}} | + | }}{{#vardefine:desc|{{#if:{{{desc|}}} |{{{desc}}} |{{#show:{{#var:main}}|?description}}}} |
}} | }} | ||
|{{ #vardefine:head|{{{heading|}}} | |{{ #vardefine:head|{{{heading|}}} |
Revision as of 07:40, 20 April 2011
The results of this template are not shown here.
[edit] [ ] Template documentation
Template:Book – a semantic template to manage a set of sequential pages like a traditional "Book". This is the "Book" template. It should be called in the following format:
{{Book |1= |2= |3= }}
Edit the page to see the template text.
The above documentation is transcluded from Template:Book/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |