Help

Torn City User talk:1322136

From Torncity WIKI - The official help and support guide

Jump to:navigation, search

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? Why not just use <onlyinclude></onlyinclude> around the part you want?

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)


I didn't actually create Template:yes (check the history).

As far as the the [[Category:Templates|{{PAGENAME}}]] thing, I'm not sure what you're talking about, is it something I actually added? If there are redundancies it'd be due to the fact that I learn as I go.

--Beerstein 01:17, 1 November 2012 (UTC)