Template:Book

From open-support.info

(Difference between revisions)
Jump to: navigation, search
m
m
Line 1: Line 1:
-
<includeonly>{{#if:{{#titleparts:{{PAGENAME}}|-1}}
+
<includeonly>{{book/core1
-
|{{book/core
+
  |root = {{#titleparts:{{FULLPAGFNAME}}|1}}
-
  |master page = {{#if:{{{master page|}}}
+
|path = {{#if:{{#titleparts:{{PAGENAME}}|-1}}
-
  |{{{master page}}}
+
  |{{#titleparts:{{PAGENAME}}||2}}
-
  |{{#show:{{#titleparts:{{FULLPAGENAME}}|1}}|?docinfo master page#}}<!--
+
-
          -->/{{#titleparts:{{PAGENAME}}||2}}
+
   }}
   }}
-
|master rev = {{{master rev|}}}
 
-
|status = {{#if:{{{status|}}}
 
-
  |{{{status}}}
 
-
  |{{#show:{{#titleparts:{{FULLPAGENAME}}|1}}|?docinfo status}}
 
-
  }}
 
-
|progress = {{#if:{{{progress|}}}
 
-
  |{{{progress}}}
 
-
  |{{#show:{{#titleparts:{{FULLPAGENAME}}|1}}|?docinfo progress}}
 
-
  }}
 
-
|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:{{{master page|}}}
 
-
  |{{#show:{{{master page}}}|?description}}
 
-
  |{{#show:{{#show:{{#titleparts:{{FULLPAGENAME}}|1}}|?docinfo master page#}}<!--
 
-
            -->/{{#titleparts:{{PAGENAME}}||2}}|?description}}
 
-
  }}
 
-
  }}
 
-
|heading = {{#if:{{{heading|}}}
 
-
  |{{{heading}}}
 
-
  |{{#if:{{{master page|}}}
 
-
  |{{#show:{{{master page}}}|?book heading}}
 
-
  |{{#show:{{#show:{{#titleparts:{{FULLPAGENAME}}|1}}|?docinfo master page#}}<!--
 
-
            -->/{{#titleparts:{{PAGENAME}}||2}}|?book heading}}
 
-
  }}
 
-
  }}
 
-
|title = {{#if:{{{title|}}}
 
-
  |{{{title}}}
 
-
  |{{#if:{{{master page|}}}
 
-
  |{{#show:{{{master page}}}|?book title}}
 
-
  |{{#show:{{#show:{{#titleparts:{{FULLPAGENAME}}|1}}|?docinfo master page}#}<!--
 
-
            -->/{{#titleparts:{{PAGENAME}}||2}}|?book title}}
 
-
  }}
 
-
  }}
 
-
|next = {{#if:{{{next|}}}
 
-
  |{{{next}}}
 
-
  |{{#if:{{{master page|}}}
 
-
  |{{#show:{{{master page}}}|?book next}}
 
-
  |{{#show:{{#show:{{#titleparts:{{FULLPAGENAME}}|1}}|?docinfo master page#}}<!--
 
-
            -->/{{#titleparts:{{PAGENAME}}||2}}|?book next}}
 
-
  }}
 
-
  }}
 
-
|prev = {{#ask:
 
-
  [[Category:Books]]
 
-
  [[book chain::{{FULLPAGENAME}}]]
 
-
  |format = list
 
-
  |limit = 1
 
-
  |link = none
 
-
  }}
 
-
}}
 
-
|{{book/core
 
  |master page = {{{master page|}}}
  |master page = {{{master page|}}}
  |master rev  = {{{master rev|}}}
  |master rev  = {{{master rev|}}}
-
  |status     = {{{status|}}}
+
  |status   = {{{status|}}}
-
  |progress   = {{{progress|}}}
+
  |progress = {{{progress|}}}
-
  |priority   = {{{priority|}}}
+
  |priority = {{{priority|}}}
-
  |category   = {{{category|}}}
+
  |category = {{{category|}}}
-
  |author     = {{{author|}}}
+
  |author   = {{{author|}}}
-
  |editor     = {{{editor|}}}
+
  |editor   = {{{editor|}}}
-
  |support     = {{{support|}}}
+
  |support = {{{support|}}}
-
  |lang       = {{{lang|}}}
+
  |lang     = {{{lang|}}}
-
  |desc = {{#if:{{{desc|}}}
+
  |desc     = {{{desc|}}}
-
  |{{{desc}}}
+
  |heading = {{{heading|}}}
-
  |{{#if:{{{mastert page|}}}|{{#show:{{{master page}}}|?description}}}}
+
  |title   = {{{title|}}}
-
  }}
+
  |next     = {{{next|}}}
-
  |heading = {{#if:{{{heading|}}}
+
-
  |{{{hading}}}
+
-
  |{{#if:{{{master page|}}}|{{#show:{{{master page}}}|?book heading}}}}
+
-
  }}
+
-
  |title = {{#if:{{{title|}}}
+
-
  |{{{title}}}
+
-
  |{{#if:{{{master page|}}}|{{#show:{{{master page}}}|?book title}}}}
+
-
  }}
+
-
  |next = {{#if:{{{next|}}}
+
-
  |{{{next}}}
+
-
  |{{#if:{{{master page|}}}|{{#show:{{{master page}}}|?book next}}}}
+
-
  }}
+
  |prev = {{#ask:
  |prev = {{#ask:
   [[Category:Books]]
   [[Category:Books]]

Revision as of 14:15, 17 April 2011

The results of this template are not shown here.

[edit] [purge] 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.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox