This wiki is a XML full dump clone of "Heroes Wiki", the main wiki about the Heroes saga that has been shut down permanently since June 1, 2020. The purpose of this wiki is to keep online an exhaustive and accurate database about the franchise.

User:Janrodrigo/Template:Appearance2: Difference between revisions

From Heroes Wiki
Jump to navigation Jump to search
Content deleted Content added
imported>Janrodrigo
m didn't work Then try ifexist
imported>Janrodrigo
m it underlined everything, now this
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#ifexist: {{{count}}} |* [[{{{name}}}{{pipe}}{{{linktext|{{{name}}}}}}]] {{#ifeq:{{{count}}}|1|'''|}} ({{{count}}}, {{{count2}}})|}}
* {{#ifeq: {{{count|}}} | 1 | '''| {{#ifeq: {{{countm|}}} | 1 | ''' | }} }}{{#if: {{{countm|}}} | ''}} [[{{{name}}}{{#if: {{{linktext|}}} |{{pipe}}{{{linktext}}}|}}]] ({{#if: {{{count|}}} | {{{count}}}, {{{countt}}} | <u>{{{countm}}}, {{{countmt}}}</u> }})<noinclude>
{{#ifexist: {{{count3}}}|* [[{{{name}}}{{pipe}}{{{linktext|{{{name}}}}}}]] {{#ifeq:{{{count3}}}|1|'''|}} (''m{{{count3}}}'', ''mt{{{count4}}}'')|}}<noinclude>


==Usage==
==Usage==
Line 7: Line 6:
Use <code>|linktext</code> to optionally override the text of the link to the character's page (for example, to shorten a long name).
Use <code>|linktext</code> to optionally override the text of the link to the character's page (for example, to shorten a long name).


<pre>{{User:Janrodrigo/Template:Appearance|name=|count=|count2=|count3=|count4=|linktext=}}</pre>
<pre>{{User:Janrodrigo/Template:Appearance|name=|count=|countt=|countm=|countmt=|linktext=}}</pre>
</noinclude>
</noinclude>

Latest revision as of 07:02, 29 September 2009

  • [[{{{name}}}]] ({{{countm}}}, {{{countmt}}})

Usage

Produces an item for character appearances on List of character appearances by episode, List of character appearances by graphic novel, graphic novel issues articles, or episode articles. Will display episode count on List. Will auto-bold first appearances.

Use |linktext to optionally override the text of the link to the character's page (for example, to shorten a long name).

{{User:Janrodrigo/Template:Appearance|name=|count=|countt=|countm=|countmt=|linktext=}}