Difference between revisions of "Template:Chucklefish mod"

From Stardew Valley Wiki
Jump to navigation Jump to search
(create)
 
(remove urlencode (mod IDs are always URL-friendly, so url-encoding will just make broken URLs harder to notice))
Line 1: Line 1:
{{#if:{{{2|}}}|[https://community.playstarbound.com/resources/{{urlencode:{{{1|}}}}} {{{2}}}]|https://community.playstarbound.com/resources/{{urlencode:{{{1|}}}}}}}<noinclude>
+
{{#if:{{{2|}}}|[https://community.playstarbound.com/resources/{{{1}}} {{{2}}}]|https://community.playstarbound.com/resources/{{{1}}}}}<noinclude>
 
{{{{FULLPAGENAME}}/doc}}[[Category:General wiki templates]]</noinclude>
 
{{{{FULLPAGENAME}}/doc}}[[Category:General wiki templates]]</noinclude>

Revision as of 19:04, 13 November 2018

https://community.playstarbound.com/resources/{{{1}}}

Description

This template creates a link to a mod page that is on the Chucklefish Community Forum.

Usage

Usage Code Result
Naked URL
{{Chucklefish mod|4250}}
https://community.playstarbound.com/resources/4250
Link Text
{{Chucklefish mod|4250|Lookup Anything}}
Lookup Anything