v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "Template:Langsym raw/doc"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
Line 23: Line 23:
 
* [[:Category:Symbol raw pages]]
 
* [[:Category:Symbol raw pages]]
  
<includeonly>[[Category: Language]]</includeonly>
+
<includeonly>[[Category: Language]][[Category:Raw templates]]</includeonly>

Revision as of 00:55, 4 February 2023

Note that this template is fussy and likely to behave strangely if it's assumptions aren't met.

Template assumes you want to display a raw, and are on a raw subpage of page that is itself a subpage of language SYM.txt. In otherwords, a grandchild of language SYM.txt. And assumes subst will be used.

Usage

{{subst:Langsym raw}}

See https://en.wikipedia.org/wiki/Help:Substitution#The_safesubst:_modifier for details on subst

Output

This outputs something like <noinclude>{{raw header|symbol|DOMESTIC}}</noinclude>{{raw|v50:language_SYM.txt|SYMBOL|DOMESTIC}}<noinclude>{{raw footer|symbol|DOMESTIC}}</noinclude>

Notes

snippet

{{uc:{{#titleparts: {{FULLPAGENAMEE}} | -1 | -2 }}}}

See Also