Template:ID
From ErfWiki
(Difference between revisions)
(Not ready for prime time) |
|||
| Line 13: | Line 13: | ||
<nowiki>[[subst:ID|Stanley|him]]</nowiki>=>[[Stanley the Tool|him]] --Occasionally the plaintext cannot key the appropriate substitution. | <nowiki>[[subst:ID|Stanley|him]]</nowiki>=>[[Stanley the Tool|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 | + | : The idea is to be able to wikify a bunch of text with minimal work, just by wrapping |
| - | :: <nowiki>[[subst:ID|...]]</ | + | :: <nowiki>[[subst:ID|...]]</nowiki> or occasionally |
| - | :: <nowiki>[[subst:ID|Name|...]]</ | + | :: <nowiki>[[subst:ID|Name|...]]</nowiki> 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. | : unfortunately, I'm floundering about how to make this work. | ||
Latest revision as of 02:37, 13 January 2010
[edit] Usage
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|...]] or occasionally
- [[subst:ID|Name|...]] 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.