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.

Template:Rename: Difference between revisions

From Heroes Wiki
Jump to navigation Jump to search
Content deleted Content added
imported>Ryangibsonstewart
remove quotations to allow for flexibility in explanation or multiple names..
imported>Hardvice
allow display=false to add cat but hide banner
Line 1: Line 1:
{{#ifeq: {{{display|true}}} | false | |
{|style="padding: 2px; background-color: #FFDEAD; border: 1px solid #8B795E; width: 100%;-moz-border-radius:8px; clear: both;"
{|style="padding: 2px; background-color: #FFDEAD; border: 1px solid #8B795E; width: 100%;-moz-border-radius:8px; clear: both;"
|-
|-
Line 5: Line 6:
to be '''[[:Category: Pages to be renamed|split]]''' into multiple articles{{#if: {{{towhat|}}} | &nbsp;'''''{{{towhat}}}''''' | }} | for a '''[[:Category: Pages to be renamed|name change]]'''{{#if: {{{towhat|}}} | &nbsp;to '''''{{{towhat}}}''''' | }}}}.<br>To discuss the proposed name change, see the <includeonly>''<span class="plainlinks">[{{SERVER}}/{{TALKPAGENAMEE}} discussion]</span>''</includeonly><noinclude>''discussion''</noinclude> page.
to be '''[[:Category: Pages to be renamed|split]]''' into multiple articles{{#if: {{{towhat|}}} | &nbsp;'''''{{{towhat}}}''''' | }} | for a '''[[:Category: Pages to be renamed|name change]]'''{{#if: {{{towhat|}}} | &nbsp;to '''''{{{towhat}}}''''' | }}}}.<br>To discuss the proposed name change, see the <includeonly>''<span class="plainlinks">[{{SERVER}}/{{TALKPAGENAMEE}} discussion]</span>''</includeonly><noinclude>''discussion''</noinclude> page.
|align="right"|[[Image:Rename.jpg|45px]]
|align="right"|[[Image:Rename.jpg|45px]]
|}
|} <includeonly>[[Category:Pages to be renamed]]</includeonly><noinclude>
}} <includeonly>[[Category:Pages to be renamed]]</includeonly><noinclude>




Line 15: Line 17:
<pre>{{rename
<pre>{{rename
| towhat = <!--OPTIONAL what article needs to be complete-->
| towhat = <!--OPTIONAL what article needs to be complete-->
| split = <!--Anything that results in a 'true' value-->
| split = <!--OPTIONAL Anything that results in a 'true' value-->
| display = <!--OPTIONAL "false" prevents the banner from displaying-->
}}
}}
</pre>
</pre>

Revision as of 00:20, 21 April 2008

{


Usage

Marks an article as a stub and adds [[Category: Pages to be renamed]]. Used to mark articles which need to be renamed. Will clear right-floated images if necessary.

You can add a note of what what the article should be renamed to by piping the variable towhat..

{{rename
| towhat = <!--OPTIONAL what article needs to be complete-->
| split = <!--OPTIONAL Anything that results in a 'true' value-->
| display = <!--OPTIONAL "false" prevents the banner from displaying--> 
}}