Help

Torn City User talk:1322136

From Torncity WIKI - The official help and support guide

(Difference between revisions)
Jump to:navigation, search
m
(whacky templates?)
Line 9: Line 9:
--[[User:1322136|Beerstein]] 16:27, 19 June 2011 (BST)
--[[User:1322136|Beerstein]] 16:27, 19 June 2011 (BST)
 +
 +
== Whacky Templates? ==
 +
Beerstein, what's the deal with your bizarre templates? eg: [[:Template:yes]].
 +
 +
[http://en.wikipedia.org/wiki/Help:Template#Noinclude.2C_includeonly.2C_and_onlyinclude No Include] is used when you want something to appear on the Template page itself, but not to be transcluded into the page which the template is used (so ie. you might <nowiki><noinclude></noinclude></nowiki> the template category itself, or any notes or documentation, so that it doesn't appear on the target page). Why do you have the noinclude's wrapped around every part of your templates?
 +
 +
Also what's the deal with <nowiki>[[Category:Templates|{{PAGENAME}}]]</nowiki>? Magic words are generally used for dynamic transclusions. Since the default [http://en.wikipedia.org/wiki/Help:Category#Sort_order sort order] [http://www.mediawiki.org/wiki/Help:Sorting 2] is alphabetical, declaring sort order of '<nowiki>{{PAGENAME}}</nowiki>' on a template category is at worst misapplied, and at best, redundant. <big>''' [[User:1413750|<font color="#4169E1">Link]] '''</font></big><sup><small>[[User_Talk:1413750|Talk!]] [http://www.torn.com/profiles.php?XID=1413750 Torn Profile]</small></sup> 17:07, 30 October 2012 (UTC)

Revision as of 17:07, 30 October 2012

Templates?

Hey Beerstein, Just wondering if you know what's going on regarding the Uncategorized Templates? Looking through them, I can't work out why they most of them are templates? They are only transcluded into the 1 page that I can see, when looking at what links to it (ie. medals related tables on the medals page and poker ones on the poker page).

Any idea why they were made templates instead of just being put straight into the page? Thanks! Janushka Talk! Torn Profile 13:40, 13 June 2011 (BST)


It's to keep the bulk of coding off the pages for easy editing and keeping those pages user friendly plus it keeps the characters down, if there are too many on one page it can cause issues with some browsers. (some browsers may have problems editing pages approaching or longer than 32kb.)

--Beerstein 16:27, 19 June 2011 (BST)

Whacky Templates?

Beerstein, what's the deal with your bizarre templates? eg: Template:yes.

No Include is used when you want something to appear on the Template page itself, but not to be transcluded into the page which the template is used (so ie. you might <noinclude></noinclude> the template category itself, or any notes or documentation, so that it doesn't appear on the target page). Why do you have the noinclude's wrapped around every part of your templates?

Also what's the deal with [[Category:Templates|{{PAGENAME}}]]? Magic words are generally used for dynamic transclusions. Since the default sort order 2 is alphabetical, declaring sort order of '{{PAGENAME}}' on a template category is at worst misapplied, and at best, redundant. Link Talk! Torn Profile 17:07, 30 October 2012 (UTC)