Template:post-getTypeName

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
(new helper template)
(add hidden tag for debugging instagram page)
Line 1: Line 1:
-
{{#switch:{{{site|{{PAGENAME}}}}}|@strongbadactual (Instagram)=Post|#default=Tweet}}<noinclude>
+
{{#switch:{{{site|{{PAGENAME}}}}}|@strongbadactual (Instagram)=Post|#default=Tweet}}<span style="display:none">{{PAGENAME}}</span><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>

Revision as of 13:14, 22 January 2021

Tweetpost-getTypeName

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