Template:Italic title: Difference between revisions

From Pikmin Fanon
mNo edit summary
m (Text replacement - "Category:Fanon games" to "Category:Games")
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{{ {{DISPLAYTITLE:''{{PAGENAME}}''|}}|{{#if:{{{italic title|}}}{{{italic title|{{DISPLAYTITLE:{{{1}}} }} }}} }} }}}</includeonly><noinclude>
<includeonly>{{#if:{{{1|}}}|{{DISPLAYTITLE:{{{1}}}}}|{{DISPLAYTITLE:''{{PAGENAME}}''}}}}</includeonly><noinclude>


==Info==
==Info==
This template is to be used at the top of [[:Category:Fanon games|game articles]] or articles that have the name of a game in their title, those being [[:Category:Areas|area articles]], [[:Category:Caves|cave articles]], [[:Category:Treasures|treasure articles]], [[:Category:Characters|character articles]], and [[:Category:Ships|ship articles]].
This template is to be used at the top of [[:Category:Games|game articles]] or articles that have the name of a game in their title, those being [[:Category:Areas|area articles]], [[:Category:Caves|cave articles]], [[:Category:Treasures|treasure articles]], [[:Category:Characters|character articles]], and [[:Category:Vehicles|vehicle articles]].
 
This template effectively serves as a substitute to the code used to alter the appearance of an article title.


==Parameters==
==Parameters==
{| class = "wikitable"
{|class="wikitable"
! Parameter || Mandatory || Default || Detailed description
!Parameter!!Mandatory!!Default!!Detailed description
|-
|-
! 1
!1
| No || || If the article's title contains more than a game title, put it here and define what must be italicized.
|No|| ||If the article's title contains more than a game title, put it here and use apostrophes to define what must be italicized.
|}
|}


Line 16: Line 18:


==Examples==
==Examples==
{| class = "wikitable"
{|class="wikitable"
! Code || Result
!Code!!Result
|-
|-
| <pre>{{italic title}}</pre>
|<pre>{{italic title}}</pre>
| ''Pikmin 2''
|''Pikmin 2''
|-
|-
| <pre>{{italic title|Awakening Wood (''Pikmin 2'')}}</pre>
|<pre>{{italic title|Awakening Wood (''Pikmin 2'')}}</pre>
| Awakening Wood (''Pikmin 2'')
|Awakening Wood (''Pikmin 2'')
|}
|}


[[Category:Utility templates]]</noinclude>
[[Category:Utility templates]]</noinclude>

Latest revision as of 17:33, 22 December 2023


Info

This template is to be used at the top of game articles or articles that have the name of a game in their title, those being area articles, cave articles, treasure articles, character articles, and vehicle articles.

This template effectively serves as a substitute to the code used to alter the appearance of an article title.

Parameters

Parameter Mandatory Default Detailed description
1 No If the article's title contains more than a game title, put it here and use apostrophes to define what must be italicized.

Skeleton

{{italic title|1}}

Examples

Code Result
{{italic title}}
Pikmin 2
{{italic title|Awakening Wood (''Pikmin 2'')}}
Awakening Wood (Pikmin 2)