Template talk:CharacterList Row: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Warriorpoet (historical)
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. ~~~~)
 
imported>Warriorpoet (historical)
m (helpme removed. Thanks Konoko)
 
(2 intermediate revisions by one other user not shown)
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? .  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)

Latest revision as of 19:56, 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? . 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)