From Erfwiki
Revision as of 22:35, 12 January 2010 by HistoricAccount Dan Hoey (Talk | contribs) (Not ready for prime time)

Jump to: navigation, search


Converts a name to a wikified name:

[[subst:ID|Stanley]] => Stanley --straightforward substitution

[[subst:ID|Stanley the Plaid]] => Stanley the Plaid -- another straightforward substitution

[[subst:ID|Caster]] => Caster --Substitution when there is no canonical name is a no-op

[[subst:ID|Stanley|him]]=>him --Occasionally the plaintext cannot key the appropriate substitution.

The idea is to be able to wikify a bunch of text with minimal work, just by wrapping
[[subst:ID|...]]</nowicki> or occasionally :: <nowiki>[[subst:ID|Name|...]]</nowicki> around the terms to be wikified, and having the system do the appropriate linkage. This is reliant on a large collection of aliases. but I'm experimenting with two. : unfortunately, I'm floundering about how to make this work. [[subst:ID|Stanley]] </noinclude> <includeonly>[[#switch: {{{1}}}|Stanley=Stanley the Tool|Stanley the Plaid=Stanley the tool}}|{{{2|{{{1}}}}}}]]</includeonly>