Template:Book
From open-support.info
(Difference between revisions)
m |
m |
||
Line 1: | Line 1: | ||
- | + | {{#ifeq:{{SUBPAGENAME}}|{{#show:{{FULLPAGENAME}}|?language code}} | |
- | + | |{{book/core | |
- | + | |next={{#show:{{BASEPAGENAME}}|?bookNext#}} | |
- | + | |prev={{ | |
- | + | #titleparts:{{ | |
- | + | #ask: | |
- | + | ||
- | |prev= {{# | + | |
- | + | ||
- | + | ||
[[Category:Books]] | [[Category:Books]] | ||
[[bookNext::{{PAGENAME}}]] | [[bookNext::{{PAGENAME}}]] | ||
Line 15: | Line 11: | ||
|link=none | |link=none | ||
}} | }} | ||
- | + | |-1 | |
}} | }} | ||
- | |{{#ask: | + | |head={{ |
+ | #if:{{{1|}}} | ||
+ | |{{{1}}} | ||
+ | |{{#show:{{NAMESPACE}}:{{BASEPAGENAME}}|?book heading}} | ||
+ | }} | ||
+ | }} | ||
+ | |{{book/core | ||
+ | |next={{ | ||
+ | #if:{{{3|}}} | ||
+ | |{{#rel2abs:{{{3}}} }} | ||
+ | }} | ||
+ | |prev={{ | ||
+ | #ask: | ||
[[Category:Books]] | [[Category:Books]] | ||
[[bookNext::{{PAGENAME}}]] | [[bookNext::{{PAGENAME}}]] | ||
Line 24: | Line 32: | ||
|link=none | |link=none | ||
}} | }} | ||
- | + | |head={{ | |
- | |head= {{#if:{{{1|}}} | + | #if:{{{1|}}} |
- | + | |{{{1}}} | |
- | + | }} | |
}} | }} | ||
}}<noinclude> | }}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 05:30, 15 April 2011
[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. |