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>{{#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     = {{#if:{{{status|}}} |{{{status}}} |{{#show:{{#titleparts:{{FULLPAGENAME}}|1}}|?docinfo status}}}}
+
  |status = {{#if:{{{status|}}}
-
  |progress   = {{#if:{{{progress|}}}|{{{progress}}}|{{#show:{{#titleparts:{{FULLPAGENAME}}|1}}|?docinfo progress}}}}
+
  |{{{status}}}
-
  |priority   = {{#if:{{{priority|}}}|{{{priority}}}|{{#show:{{#titleparts:{{FULLPAGENAME}}|1}}|?docinfo priority}}}}
+
  |{{#show:{{#titleparts:{{FULLPAGENAME}}|1}}|?docinfo status}}
-
  |category   = {{#if:{{{category|}}}|{{{category}}}|{{#show:{{#titleparts:{{FULLPAGENAME}}|1}}|?docinfo category}}}}
+
  }}
-
  |author     = {{#if:{{{author|}}} |{{{author}}} |{{#show:{{#titleparts:{{FULLPAGENAME}}|1}}|?docinfo author}}}}
+
  |progress = {{#if:{{{progress|}}}
-
  |editor     = {{#if:{{{editor|}}} |{{{editor}}} |{{#show:{{#titleparts:{{FULLPAGENAME}}|1}}|?docinfo editor}}}}
+
  |{{{progress}}}
-
  |support   = {{#if:{{{support|}}} |{{{support}}} |{{#show:{{#titleparts:{{FULLPAGENAME}}|1}}|?docinfo support}}}}
+
  |{{#show:{{#titleparts:{{FULLPAGENAME}}|1}}|?docinfo progress}}
-
  |lang       = {{#if:{{{lang|}}}   |{{{lang}}}   |{{#show:{{#titleparts:{{FULLPAGENAME}}|1}}|?docinfo language}}}}
+
  }}
 +
  |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] [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