Template:Book
From open-support.info
(Difference between revisions)
m |
m |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{#titleparts:{{PAGENAME}}|-1}} | <includeonly>{{#if:{{#titleparts:{{PAGENAME}}|-1}} | ||
|{{book/core | |{{book/core | ||
- | |master page= {{#if:{{{master page|}}} | + | |master page = {{#if:{{{master page|}}} |
|{{{master page}}} | |{{{master page}}} | ||
- | |{{#show:{{#titleparts:{{FULLPAGENAME}}|1}}|?docinfo master page}}/{{#titleparts:{{PAGENAME}}|-1|2}} | + | |{{#show:{{#titleparts:{{FULLPAGENAME}}|1}}|?docinfo master page#}}<!-- |
+ | -->/{{#titleparts:{{PAGENAME}}|-1|2}} | ||
}} | }} | ||
|master rev = {{{master rev|}}} | |master rev = {{{master rev|}}} | ||
- | |status | + | |status = {{#if:{{{status|}}} |
- | |progress | + | |{{{status}}} |
- | |priority | + | |{{#show:{{#titleparts:{{FULLPAGENAME}}|1}}|?docinfo status}} |
- | |category | + | }} |
- | |author | + | |progress = {{#if:{{{progress|}}} |
- | |editor | + | |{{{progress}}} |
- | |support | + | |{{#show:{{#titleparts:{{FULLPAGENAME}}|1}}|?docinfo progress}} |
- | |lang | + | }} |
+ | |priority = {{#if:{{{priority|}}} | ||
+ | |{{{priority}}} | ||
+ | |{{#show:{{#titleparts:{{FULLPAGENAME}}|1}}|?docinfo priority}} | ||
+ | }} | ||
+ | |category = {{#if:{{{category|}}} | ||
+ | |{{{category}}} | ||
+ | |{{#show:{{#titleparts:{{FULLPAGENAME}}|1}}|?docinfo category}} | ||
+ | }} | ||
+ | |author = {{#if:{{{author|}}} | ||
+ | |{{{author}}} | ||
+ | |{{#show:{{#titleparts:{{FULLPAGENAME}}|1}}|?docinfo author}} | ||
+ | }} | ||
+ | |editor = {{#if:{{{editor|}}} | ||
+ | |{{{editor}}} | ||
+ | |{{#show:{{#titleparts:{{FULLPAGENAME}}|1}}|?docinfo editor}} | ||
+ | }} | ||
+ | |support = {{#if:{{{support|}}} | ||
+ | |{{{support}}} | ||
+ | |{{#show:{{#titleparts:{{FULLPAGENAME}}|1}}|?docinfo support}} | ||
+ | }} | ||
+ | |lang = {{#if:{{{lang|}}} | ||
+ | |{{{lang}}} | ||
+ | |{{#show:{{#titleparts:{{FULLPAGENAME}}|1}}|?docinfo language}} | ||
+ | }} | ||
|desc = {{#if:{{{desc|}}} | |desc = {{#if:{{{desc|}}} | ||
|{{{desc}}} | |{{{desc}}} | ||
|{{#if:{{{master page|}}} | |{{#if:{{{master page|}}} | ||
|{{#show:{{{master page}}}|?description}} | |{{#show:{{{master page}}}|?description}} | ||
- | |{{#show:{{#show:{{#titleparts:{{FULLPAGENAME}}|1}}|?docinfo master page}}<!-- | + | |{{#show:{{#show:{{#titleparts:{{FULLPAGENAME}}|1}}|?docinfo master page#}}<!-- |
-->/{{#titleparts:{{PAGENAME}}|-1|2}}|?description}} | -->/{{#titleparts:{{PAGENAME}}|-1|2}}|?description}} | ||
}} | }} | ||
Line 26: | Line 51: | ||
|{{#if:{{{master page|}}} | |{{#if:{{{master page|}}} | ||
|{{#show:{{{master page}}}|?book heading}} | |{{#show:{{{master page}}}|?book heading}} | ||
- | |{{#show:{{#show:{{#titleparts:{{FULLPAGENAME}}|1}}|?docinfo master page}}<!-- | + | |{{#show:{{#show:{{#titleparts:{{FULLPAGENAME}}|1}}|?docinfo master page#}}<!-- |
-->/{{#titleparts:{{PAGENAME}}|-1|2}}|?book heading}} | -->/{{#titleparts:{{PAGENAME}}|-1|2}}|?book heading}} | ||
}} | }} | ||
Line 34: | Line 59: | ||
|{{#if:{{{master page|}}} | |{{#if:{{{master page|}}} | ||
|{{#show:{{{master page}}}|?book title}} | |{{#show:{{{master page}}}|?book title}} | ||
- | |{{#show:{{#show:{{#titleparts:{{FULLPAGENAME}}|1}}|?docinfo master page}}/{{#titleparts:{{PAGENAME}}|-1|2}}|?book title}} | + | |{{#show:{{#show:{{#titleparts:{{FULLPAGENAME}}|1}}|?docinfo master page}#}<!-- |
+ | -->/{{#titleparts:{{PAGENAME}}|-1|2}}|?book title}} | ||
}} | }} | ||
}} | }} | ||
Line 41: | Line 67: | ||
|{{#if:{{{master page|}}} | |{{#if:{{{master page|}}} | ||
|{{#show:{{{master page}}}|?book next}} | |{{#show:{{{master page}}}|?book next}} | ||
- | |{{#show:{{#show:{{#titleparts:{{FULLPAGENAME}}|1}}|?docinfo master page}}/{{#titleparts:{{PAGENAME}}|-1|2}}|?book next}} | + | |{{#show:{{#show:{{#titleparts:{{FULLPAGENAME}}|1}}|?docinfo master page#}}<!-- |
+ | -->/{{#titleparts:{{PAGENAME}}|-1|2}}|?book next}} | ||
}} | }} | ||
}} | }} |
Revision as of 13:37, 17 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. |