Template talk:Uns-ip-van
From Wikipedia, the free encyclopedia
As the bulk of the template usage was dominated by "OMG spaces break this template!" I've incorporated the semi-new magic word {{urlencode:}} into the {{fullurl:}} sections which have a template parameter after the vertical bar (that is, unescaped parameters). However, as this template is primarily subst'd in, it doesn't work as seamlessly as, for example, {{User2}}.
Example: {{subst:Uns-ip-van|Jan 1 2001|127.0.0.1}} produces:
- —''The preceding [[Wikipedia:Sign your posts on talk pages|unsigned]] comment was added by the IP'' <span class="plainlinks">[[User:127.0.0.1|127.0.0.1]] 09:38, Jan 1 2001 (UTC); that Internet address has been used for vandalism: ([[User talk:127.0.0.1|talk]] • [[Special:Contributions/127.0.0.1|contribs]] • [{{fullurl:Special:Log/move|user={{urlencode:127.0.0.1}}}} page moves] • [http://tools.wikimedia.de/~kate/cgi-bin/archive_contribs?user={{urlencode:127.0.0.1}}&dbname=enwiki deleted edits] • [[Special:Blockip/127.0.0.1|block user]] • [{{fullurl:Special:Log/block|page=User:{{urlencode:127.0.0.1}}}} block log]). </span><!--Inserted with Template:Uns-ip-van-->
Which is just slightly uglier. --Splarka (rant) 09:45, 17 June 2006 (UTC)

