Template:Slashtitle: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>J. Noel Chiappa
(Clean up this corner-case)
 
imported>Caesar Schinas
mNo edit summary
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
''Due to technical limitations, this article has an incorrect title. It should be {{{1}}}}.''<noinclude>
<includeonly><div style="border:1px #bbb solid; background-color:#eee; padding:0.5em; margin:0.5em 0">''Due to technical limitations, this article uses an unusual title. It should be called''&nbsp; '''{{{1}}}'''.</div></includeonly><noinclude>{{TlDoc}}</noinclude>
 
'''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]].
 
''Note'': ''articletitle'' cannot include a "=" character; if so, replace it with a {{tl|1==}}.
 
'''Example''':
 
<nowiki>{{slashtitle|Apollo Command/Service Module}}</nowiki>
 
gives
 
{{slashtitle|Apollo Command/Service Module}}
</noinclude>

Latest revision as of 06:17, 14 May 2009

This documentation is transcluded from Template:Slashtitle/doc (edit | history)

Usage

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 very top of the article (i.e. above the {{subpages}}), 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 9/11.

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

Example

{{slashtitle|9-11 Attack}} gives

Due to technical limitations, this article uses an unusual title. It should be called  9-11 Attack.