Template:Class: Difference between revisions

From ZDoom Wiki
Jump to navigation Jump to search
Content deleted Content added
m Allow to change the displayed name with second parameter.
mNo edit summary
Line 1: Line 1:
<includeonly>[[Classes:{{{1|Actor}}}|{{{2|{{{1|Actor}}}}}}]]</includeonly><noinclude>This template is a shorthand to enter class names in a page. Rather than <nowiki>[[Classes:SomeActor|SomeActor]]</nowiki>, you can simply use <nowiki>{{Class|SomeActor}}</nowiki>. If the parameter is omitted, it defaults to a link to {{Class|Actor}}.</noinclude>
<includeonly>[[Classes:{{{1|Actor}}}|{{{2|{{{1|Actor}}}}}}]]</includeonly><noinclude>This template is a shorthand to enter class names in a page. Rather than <nowiki>[[Classes:SomeActor|SomeActor]]</nowiki>, you can simply use <nowiki>{{Class|SomeActor}}</nowiki>. If the parameter is omitted, it defaults to a link to {{Class|Actor}}.</noinclude><noinclude>[[Category:Internal link templates]]</noinclude>

Revision as of 17:45, 18 November 2010

This template is a shorthand to enter class names in a page. Rather than [[Classes:SomeActor|SomeActor]], you can simply use {{Class|SomeActor}}. If the parameter is omitted, it defaults to a link to Actor.