Template:Publisher/doc

Template page
< Template:Publisher
Revision as of 15:26, 13 November 2018 by imported>Pcjbot
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{#vardefine: nodoc | {{{nodoc}}} }}{{#vardefine: baddoc | {{{baddoc}}} }}{{#if: | {{#ifeq: doc | doc | |

}} }}

[[File:Template-{{#if: | no | {{#if: | bad }} }}info.png|50px|bottom]] Documentation
{{#if: | This template has no documentation. If you know how to use this template, please add some.{{#ifeq: doc | doc | |}} |{{#if: | This template's documentation has been marked as bad. Please improve or add to it.{{#ifeq: doc | 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.

{{#ifeq: doc | doc |

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.

| }}