Template talk:Block
From ManicDigger
Couldn't this be simplified by just replacing
{{{Name|Unknown}}}
with
{{{Name|{{PAGENAME}} }}}
Have just read a bit documentation about templates on wikipedia, and this came to my mind. Maybe
{{PAGENAME}}
instead would also work :D.
Edit: But as the last one could have issues with name specified, I choosed the second one as a "noninvasive" Version.
This also allows you to choose another name if you want to include the table on an other page than the block's page. You don't have to edit existing tables, they can stay like they are. Just remember that, if you create a new block page you don't have to include the name anymore.
Some information on {{PAGENAME}}: This is a "Magic word", it is filled in at each page. It just returns the name of the Page without the Namespace.
{{PAGENAME}} will get the name, {{NAMESPACE}} the namespace.
{{NAMESPACE}}:{{PAGENAME}} or {{FULLPAGENAME}} will get the full name.
That will give:
Block will get the name, Template talk the namespace. Template talk:Block or Template talk:Block will get the full name.
For more information visit Mediawiki.
Maybe you already knew this :D, then just leave this text here for newbies.
Just suggesting something else for this page:
Include[[Category:Block]]somewhere in the template.
This would remove the need of having to manually add everything to that category.--~restcoser 15:29, 2 November 2011 (UTC)

