{{#vardefine: nodoc | {{{nodoc}}} }}{{#vardefine: baddoc | {{{baddoc}}} }}{{#if: | {{#ifeq: Publisher | doc | |
}} }}
Usage
Edit this template to replace the name of the game publisher in all the Legal notices. If you wish to also link to the publishers site, you can specify the site url as follows:
{{{{#if:|subst:}}Publisher{{#if:http://game.site.com%7C
|http://game.site.com
}}{{#if:|
|{{{3}}}
}}{{#if:|
|{{{4}}}
}}{{#if:|
|{{{5}}}
}}{{#if:|
|{{{6}}}
}}{{#if:|
|{{{7}}}
}}{{#if:|
|{{{8}}}
}}{{#if:|
|{{{9}}}
}}{{#if:|
|{{{10}}}
}}{{#if:|
|{{{11}}}
}}{{#if:|
|...
}}}}
Result:
- {{#if:[Camshaft Software] | Camshaft Software}}
Alternatively, you can simply remove the logic and hardcode the url in the template, rather than using the unnamed variable: {{{1}}}
. This will link to the publisher's site in all instances, rather than optionally.
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.
|The above documentation is transcluded from Template:Publisher/doc. (edit | history)
}}