Template:Project abbreviation

From Constructed Worlds Wiki
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

Adding your project

Add your desired abbreviation to the sub page in the following format:

|Your abbreviation = Full Project Name

Then create a template page named {{Your abbreviation}}

Make sure the name of the template pages matches exactly the name you added to the sub page.

On this template page, copy and paste the following code:
{{Project abbreviation|{{{1|}}}|{{{2|}}}|Your abbreviation}}

Usage

The template can be used in the following way:

{{Abbreviation}} → [[Full Project Name]]
{{Abbreviation|Page}} → [[Page (Full Project Name)|Page]]
{{Abbreviation|t}} → ([[Full Project Name]])
{{Abbreviation|t|Page}} → [[Page (Full Project Name)|Page]])

For example:
{{Morte}} → Merveilles des Morte
{{Morte|France}} → France
{{Morte|t}} → (Merveilles des Morte)
{{Morte|t|France}} → France