Difference between revisions of "Template:Unrandlink"

From CrawlWiki
Jump to: navigation, search
(A new template for showing tiles of unrands. Inspired by the {{monsterlink}} template)
 
m (fix filenames for some unrands)
 
Line 1: Line 1:
<includeonly>[[Image:{{{1}}}.png]] '''[[{{{1}}}]]'''</includeonly><noinclude>
+
<includeonly>[[Image:{{ucfirst:{{lc:{{{1}}}}}}}.png]] '''[[{{{1}}}]]'''</includeonly><noinclude>
  
 
For example:  
 
For example:  
  
     <nowiki>{{unrandlink|Arc blade}}</nowiki>
+
     <nowiki>{{unrandlink|Sword of Power}}</nowiki>
  
gives you: {{unrandlink|Arc blade}}
+
gives you: {{unrandlink|Sword of Power}}
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Latest revision as of 15:15, 4 January 2023


For example:

   {{unrandlink|Sword of Power}}

gives you: Sword of power.png Sword of Power