Template:Part

From Shifti
Revision as of 15:38, 20 July 2007 by 10.0.0.6 (talk) (extend the template to allow for omission of the "Number" parameter if the "Name" parameter is included.)
Jump to navigation Jump to search

{{#ifeq: | |

 === Part {{{number}}} === |
 {{#ifeq:   | |
    === {{{name}}} === |
    === Part {{{number}}}: {{{name}}} === 
 }}

}}

Usage: {{part|name=Name|number=Number}}, though you can omit the "Name" or "Number" parameter - The template will fail if you omit both.