Difference between revisions of "Template:Slashtitle"

From Citizendium
Jump to navigation Jump to search
imported>J. Noel Chiappa
(Clean up this corner-case)
 
imported>J. Noel Chiappa
(Improve documentation)
Line 1: Line 1:
''Due to technical limitations, this article has an incorrect title. It should be {{{1}}}}.''<noinclude>
''Due to technical limitations, this article has an incorrect title. It should be'' <large>'''{{{1}}}'''<large>.<noinclude>


'''Usage''':<nowiki>{{slashtitle|articletitle}}</nowiki>
'''Usage''':<nowiki>{{slashtitle|articletitle}}</nowiki>


Replace ''articletitle'' with the title of the article, with the "/" replaced with a "-") if the title of the article should include a "/". Should only be used in special circumstances, such as [[Apollo Command/Service Module]].
To handle articles with a "/" in their name, due to technical limitations it is necessary to take special steps.
 
First, place the article at a name with the "/" replaced by a "-". Insert this template at the top of the article, replacing ''articletitle'' with the title of the article (with the "/" instead of the "-"). Finally, create a {{MW|Help:Redirect|redirect}} from the correct name (with a "/") to the name the article is actually at (with the "-").
 
It should only be used in special circumstances, such as [[Apollo Command/Service Module]].


''Note'': ''articletitle'' cannot include a "=" character; if so, replace it with a {{tl|1==}}.
''Note'': ''articletitle'' cannot include a "=" character; if so, replace it with a {{tl|1==}}.

Revision as of 20:25, 18 April 2008

Due to technical limitations, this article has an incorrect title. It should be <large>{{{1}}}<large>.

Usage:{{slashtitle|articletitle}}

To handle articles with a "/" in their name, due to technical limitations it is necessary to take special steps.

First, place the article at a name with the "/" replaced by a "-". Insert this template at the top of the article, replacing articletitle with the title of the article (with the "/" instead of the "-"). Finally, create a redirect from the correct name (with a "/") to the name the article is actually at (with the "-").

It should only be used in special circumstances, such as Apollo Command/Service Module.

Note: articletitle cannot include a "=" character; if so, replace it with a {{=}}.

Example:

{{slashtitle|Apollo Command/Service Module}}

gives

Due to technical limitations, this article has an incorrect title. It should be <large>Apollo Command/Service Module<large>.