Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Difference between revisions of "Template talk:CharacterList Row"

From Paragon Wiki Archive
Jump to: navigation, search
m (New page: I'm not sure how to do it, but is there a way to add optional parameter's for BH or CIT ids that would link to the character's profile? {{helpme}}. Thanks. ~~~~)
 
(+if: example)
Line 1: Line 1:
 
I'm not sure how to do it, but is there a way to add optional parameter's for BH or CIT ids that would link to the character's profile?  {{helpme}}.  Thanks.  [[User:Sapph|Sapph]] 11:34, 15 August 2007 (EDT)
 
I'm not sure how to do it, but is there a way to add optional parameter's for BH or CIT ids that would link to the character's profile?  {{helpme}}.  Thanks.  [[User:Sapph|Sapph]] 11:34, 15 August 2007 (EDT)
 +
 +
<pre><nowiki>{{#if: {{bh|}} | [http://badge-hunter.com/id?{{bh}} Badge Hunter] }}</nowiki>
 +
<nowiki>{{#if: {cit|}} | [http://cityinfoterminal.com/id?{{cit}} Badge Hunter] }}</nowiki></pre>
 +
<nowiki>#if:</nowiki> is if exists. If something exists, do this.
 +
If '''bh''' or '''cit''' is included, add a link to badge-hunter. Change URL to match scheme. --[[User:Konoko|Konoko]] 12:55, 15 August 2007 (EDT)

Revision as of 16:55, 15 August 2007

I'm not sure how to do it, but is there a way to add optional parameter's for BH or CIT ids that would link to the character's profile? Template:Helpme. Thanks. Sapph 11:34, 15 August 2007 (EDT)

{{#if: {{bh|}} | [http://badge-hunter.com/id?{{bh}} Badge Hunter] }}
{{#if: {cit|}} | [http://cityinfoterminal.com/id?{{cit}} Badge Hunter] }}

#if: is if exists. If something exists, do this. If bh or cit is included, add a link to badge-hunter. Change URL to match scheme. --Konoko 12:55, 15 August 2007 (EDT)