Template:post-getTypeName

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
(no need to name the template's only (and most important) parameter)
m (we don't need *this* anymore...)
 
(includes 1 intermediate revision)
Line 1: Line 1:
-
{{#switch:{{{1|{{PAGENAME}}}}}|@strongbadactual (Instagram)=Post|#default=Tweet}}<span style="display:none">{{PAGENAME}}</span><noinclude>
+
{{#switch:{{#if:{{{1|}}}|{{{1|}}}|{{PAGENAME}}}}|@strongbadactual (Instagram)=Post|#default=Tweet}}<noinclude>
:See {{t|post}}
:See {{t|post}}
*Helper function to detect the post type name ("Tweet" or Instagram "Post")
*Helper function to detect the post type name ("Tweet" or Instagram "Post")
[[Category:Toon Article Formatting Templates|{{PAGENAME}}]]</noinclude>
[[Category:Toon Article Formatting Templates|{{PAGENAME}}]]</noinclude>

Current revision as of 12:38, 23 January 2021

Tweet

See {{post}}
  • Helper function to detect the post type name ("Tweet" or Instagram "Post")
Personal tools