Forum:Error in pp-templte (wikipedia meta version)

The PP-template from wikipedia i imported (a long time ago) has had a problem when set to small, were the little padlock should show on the page i get an error message see here. I've updated the code from wikipedia on a couple of occasions and looked through the code several times, but canot find why the Icon will not show. see pp-meta for core code

Perhaps a new set of eyes can spot what i've missed. A lot of the wikipedia references / links have been updated to point to wikia but some remain in the sub templates. Note: a lot of the padlock.svg files have been swaped to padlock.png as i canot save svg files.

- BulldozerD11 03:49, April 15, 2010 (UTC)


 * I'm not sure if that's a cause, but there is a line that reads . ;) In general, I find it simply better not to copy templates from Wikipedia; they really overcomplicate theirs and make it adaptation to Wikia very difficult.  The 888th Avatar   (talk)  05:02, April 15, 2010 (UTC)


 * Oh - by the way, I mean Template:Pp-meta. The 888th Avatar   (talk)  05:14, April 15, 2010 (UTC)


 * Thanks Avatar i'll look at that.


 * I would agre about wikipedia templates and you will see me ocasionaly cautionng against there use as well. When i started in wikia I copied some pages that used wikipedi atemplates, so started copying them (which spiraled due to the nested nature) befor i asked for help and discovered that the two sites were not 100% the same (the parser function being the issue). Colapsible nav boxes were my original problem getting the VDE links to function. A work round for Tnavbar was found.


 * Not understanding transclusion also caused problems due to doc pages calling load of templates. By then to unravel and use wikia ones was not realy an option. Also were to find them from was a problem as the biggest wiki sites are geared to gaming and fanon. Template wiki was non existant (and is still rather a secret due to the Hubs issue).


 * The Good side is it teaches you wiki coding & gives a break from content editing. The bad side is that when they ont work they are very hard to track problems down in.


 * - BulldozerD11 02:35, April 16, 2010 (UTC)