Template:Book

From open-support.info

(Difference between revisions)
Jump to: navigation, search
m
m
Line 1: Line 1:
<includeonly>{{#vardefine:root|{{#titleparts:{{FULLPAGENAME}}|1}}
<includeonly>{{#vardefine:root|{{#titleparts:{{FULLPAGENAME}}|1}}
}}{{#vardefine:path|{{#if:{{#titleparts:{{PAGENAME}}|-1}}|{{#titleparts:{{PAGENAME}}||2}}}}
}}{{#vardefine:path|{{#if:{{#titleparts:{{PAGENAME}}|-1}}|{{#titleparts:{{PAGENAME}}||2}}}}
-
}}{{#if:{{#var:path}}
+
}}{{#vardefine:main|{{#if:{{{master page|}}}
-
|{{#vardefine:main|{{#if:{{{master page|}}}
+
|{{{master page}}}
-
  |{{{master page}}}
+
|{{#if:{{#var:path}}
-
  |{{#if:{{#show:{{#var:root}}|?docinfo master page#}}
+
|{{#if:{{#show:{{#var:root}}|?docinfo master page#}}
-
  |{{#show:{{#var:root}}|?docinfo master page#}}/{{#var:path}}
+
  |{{#show:{{#var:root}}|?docinfo master page#}}/{{#var:path}}
-
  }}
+
   }}
   }}
-
  }}{{#vardefine:stat|{{#if:{{{status|}}}  |{{{status}}}  |{{#show:{{#var:root}}|?docinfo status}}}}
+
  }}
 +
}}{{#ifeq:{{#var:main}}|{{FULLPAGENAME}}
 +
|{{#vardefine:main|}}
 +
|
 +
}}{{#if:{{#var:path}}
 +
|{{  #vardefine:stat|{{#if:{{{status|}}}  |{{{status}}}  |{{#show:{{#var:root}}|?docinfo status}}}}
  }}{{#vardefine:prog|{{#if:{{{progress|}}}|{{{progress}}}|{{#show:{{#var:root}}|?docinfo progress}}}}
  }}{{#vardefine:prog|{{#if:{{{progress|}}}|{{{progress}}}|{{#show:{{#var:root}}|?docinfo progress}}}}
  }}{{#vardefine:prio|{{#if:{{{priority|}}}|{{{priority}}}|{{#show:{{#var:root}}|?docinfo priority}}}}
  }}{{#vardefine:prio|{{#if:{{{priority|}}}|{{{priority}}}|{{#show:{{#var:root}}|?docinfo priority}}}}
Line 17: Line 21:
  }}{{#vardefine:lang|{{#if:{{{lang|}}}    |{{{lang}}}    |{{#show:{{#var:root}}|?docinfo language}}}}
  }}{{#vardefine:lang|{{#if:{{{lang|}}}    |{{{lang}}}    |{{#show:{{#var:root}}|?docinfo language}}}}
  }}
  }}
-
|{{  #vardefine:main|{{{master page|}}}
+
|{{  #vardefine:stat|{{{status|}}}
-
}}{{#vardefine:stat|{{{status|}}}
+
  }}{{#vardefine:prog|{{{progress|}}}
  }}{{#vardefine:prog|{{{progress|}}}
  }}{{#vardefine:prio|{{{priority|}}}
  }}{{#vardefine:prio|{{{priority|}}}

Revision as of 08:21, 20 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