Difference between revisions of "Template:ID"

From Erfwiki
Jump to: navigation, search
(First hack at Template:ID)
 
(Usage)
Line 2: Line 2:
 
== Usage ==
 
== Usage ==
 
Converts a name to a wikified name:
 
Converts a name to a wikified name:
{{subst:ID|Stanley}} => [[Stanley the Tool|Stanley]]
+
:
{{subst:ID|Stanley the Plaid}} =: [[Stanley the Tool|Stanley the Plaid]]
+
 
The idea is to be able to wikify a bunch of text with minimal work.
+
[[Stanley|Stanley]] => [[Stanley the Tool|Stanley]]
 +
:
 +
 
 +
[[Stanley the Plaid|Stanley the Plaid]] => [[Stanley the Tool|Stanley the Plaid]]
 +
:The idea is to be able to wikify a bunch of text with minimal work.
 
This is reliant on a large collection of aliases.
 
This is reliant on a large collection of aliases.
I hope we can get {{subst:ID|Stanley|him}}=>[[Stanley the Tool|him]] to work,
+
:I hope we can get  
 +
 
 +
[[Stanley|him]]=>[[Stanley the Tool|him]] to work,
 
where the plaintext doesn't specify the character explicitly.
 
where the plaintext doesn't specify the character explicitly.
 
</noinclude>
 
</noinclude>
  
 
<includeonly>[[{{{1|}}}|{{{2|{{{1}}}}}}]]</includeonly>
 
<includeonly>[[{{{1|}}}|{{{2|{{{1}}}}}}]]</includeonly>

Revision as of 21:50, 12 January 2010

Usage

Converts a name to a wikified name:

Stanley => Stanley

Stanley the Plaid => Stanley the Plaid

The idea is to be able to wikify a bunch of text with minimal work.

This is reliant on a large collection of aliases.

I hope we can get

him=>him to work, where the plaintext doesn't specify the character explicitly.