Template:Don't Starve

From Don't Starve Wiki
Jump to navigation Jump to search

Don't Starve

Template documentation [View] [Edit] [History] [Refresh]
Description
This template formats the name of the stand-alone game Don't Starve, per the Don't Starve Wiki:Manual of Style. (Use of the template can possibly auto-link the first instance on the page in the future.)
Syntax
{{Don't Starve|[l]}}
Usage
Write {{Don't Starve}} within a paragraph to get: Don't Starve
Write {{Don't Starve|l}} within a paragraph to get: Don't Starve. That is a lower-case letter 'L', for "link". This should only be used the first time Don't Starve is mentioned in an article.
See also
Template:Don't Starve
Template:Giants
Template:Shipwrecked -> Template:Ship
Template:Hamlet -> Template:Ham
Template:Together
Template:DS
Template:RoG
Template:SW
Template:Ham -> Template:HAM
Template:DST
To do
  • {{Don't Starve}} will check if {{#var:1st_DS_link}} has been defined on a page. If so, write out Don't Starve. If not, write out Don't Starve and define the variable.
  • {{Don't Starve|l}} will force it to write Don't Starve and define {{#var:1st_DS_link}}. This would be for use in longer articles.
{{#if: {{#expr: {{{1|}}} or {{#varexists:1st_DS_link}}}}
| {{#vardefine:1st_DS_link|1}}''[[Don't Starve]]''
| ''Don't Starve''
}}