Difference between revisions of "Template talk:DAH Borrowed"

From Fallen Sword Wiki
Jump to: navigation, search
(New page: {{DAH Borrowed}} <span style="color:#060">It appears you put too many brackets around your parameters. They should all have 3 brackets on either side, and the extra 2 screw it up so it thi...)
 
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{DAH Borrowed}}
 
{{DAH Borrowed}}
 
<span style="color:#060">It appears you put too many brackets around your parameters. They should all have 3 brackets on either side, and the extra 2 screw it up so it thinks it's looking for a template by the name of whatever you put in as your parameter.</span><br>{{User:Belgrave/Sig}}
 
<span style="color:#060">It appears you put too many brackets around your parameters. They should all have 3 brackets on either side, and the extra 2 screw it up so it thinks it's looking for a template by the name of whatever you put in as your parameter.</span><br>{{User:Belgrave/Sig}}
 +
 +
I have got my template to work like I want it to work but now I need to find out how to make cells that do not have any information in the will show empty instead of the <nowiki>{{  }}</nowiki> and <nowiki>[[  ]]</nowiki>.<br>{{User:DavidAHare/Sig}} 02:15, 15 September 2008 (BST)
 +
:<span style="color:#060">You might try this:<pre><span class="plainlinks">[{{fullurl:{{{item-name|{{PAGENAME}}}}}}} {{{item-name|&amp;nbsp;}}}]</span></pre>All it does is make a link to the item's page or a non-visible non-clickable link to itself if there is no item. The only parameter in this code is <tt>item-name</tt> and that can be changed to whatever you need. Everything else would have to stay the same.</span><br>{{User:Belgrave/Sig}}
 +
 +
 +
I tried your suggestion and it did not work.  It left [{{fullurl}}] in the spot.  So I am using none in the spots that do not have any information.<br>{{User:DavidAHare/Sig}} 02:39, 16 September 2008 (BST)
 +
:<span style="color:#060">I made a template for you to use where you only have to put in the player's name to get a link to their game profile page. All it reqires before it would work is for you to add their name and id to the template: [[Template:ProfileLink]].</span><br>{{User:Belgrave/Sig}}

Latest revision as of 02:26, 16 September 2008

ITEM TYPE ITEM NAME HELLFORGE LVL CRAFTED LVL BORROWED BY
Gloves [[ ]] {{ }} {{ }} {{{Glove-Borrowed-By1}}}
Helmets [[ ]] {{ }} {{ }} {{{Helmet-Borrowed-By1}}}
Amulets [[ ]] {{ }} {{ }} {{{Amulet-Borrowed-By1}}}
Weapons [[ ]] {{ }} {{ }} {{{Weapon-Borrowed-By1}}}
Armor [[ ]] {{ }} {{ }} {{{Armor-Borrowed-By1}}}
Shields [[ ]] {{ }} {{ }} {{{Shield-Borrowed-By1}}}
Rings [[ ]] [none] [none] {{{Ring-Borrowed-By1}}}
Boots [[ ]] {{ }} {{ }} {{{Boot-Borrowed-By1}}}
Runes [[ ]] {{ }} {{ }} {{{Rune-Borrowed-By1}}}

It appears you put too many brackets around your parameters. They should all have 3 brackets on either side, and the extra 2 screw it up so it thinks it's looking for a template by the name of whatever you put in as your parameter.
 Belgrave, Moderator / Sysop  Talk  Message PM 

I have got my template to work like I want it to work but now I need to find out how to make cells that do not have any information in the will show empty instead of the {{ }} and [[ ]].
   DavidAHare,Talk Message PM 02:15, 15 September 2008 (BST)

You might try this:
<span class="plainlinks">[{{fullurl:{{{item-name|{{PAGENAME}}}}}}} {{{item-name|&nbsp;}}}]</span>
All it does is make a link to the item's page or a non-visible non-clickable link to itself if there is no item. The only parameter in this code is item-name and that can be changed to whatever you need. Everything else would have to stay the same.

 Belgrave, Moderator / Sysop  Talk  Message PM 


I tried your suggestion and it did not work. It left [[[:Template:Fullurl]]] in the spot. So I am using none in the spots that do not have any information.
   DavidAHare,Talk Message PM 02:39, 16 September 2008 (BST)

I made a template for you to use where you only have to put in the player's name to get a link to their game profile page. All it reqires before it would work is for you to add their name and id to the template: Template:ProfileLink.
 Belgrave, Moderator / Sysop  Talk  Message PM