Template:Ios/doc: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		 
 Note:Some of the examples given may lead to non-existent pages.
Note:Some of the examples given may lead to non-existent pages.
		
	
| mNo edit summary | mNo edit summary | ||
| Line 10: | Line 10: | ||
| * {{Param|addtext}} – Optional: If {{Param}} is set to {{Code|in}}, {{Code|also}}, {{Code|only}}, {{Code|since}}, {{Code|removed}} or {{Code|not}}, then the value of this parameter is inserted right after the game icon. Useful for multiple game icons. | * {{Param|addtext}} – Optional: If {{Param}} is set to {{Code|in}}, {{Code|also}}, {{Code|only}}, {{Code|since}}, {{Code|removed}} or {{Code|not}}, then the value of this parameter is inserted right after the game icon. Useful for multiple game icons. | ||
| === Parameters exclusive to {{t|iOS}}, and some templates (such as {{t|Win7}}) === | === Parameters exclusive to {{t|iOS}}, {{t|Mac}}, and some templates (such as {{t|Win7}}) === | ||
| * {{Param|ver}} – Optional: Set version number, for the operating systems, probably might works similar to {{code|addtext}} but affects everything, including links to {{wiki}} article. | * {{Param|ver}} – Optional: Set version number, for the operating systems, probably might works similar to {{code|addtext}} but affects everything, including links to {{wiki}} article. | ||
| * {{Param|linkto}} – Optional: Changes the Wikipedia link, in this template, when you click on the link that have {{param|linkto|iPadOS}} on it, you will read the {{wiki|iPadOS}} article on Wikipedia instead of {{wiki|iOS}}. | * {{Param|linkto}} – Optional: Changes the Wikipedia link, in this template, when you click on the link that have {{param|linkto|iPadOS}} on it, you will read the {{wiki|iPadOS}} article on Wikipedia instead of {{wiki|iOS}}. | ||
Revision as of 10:03, 16 August 2023

This is a documentation subpage for Template:Ios. 
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Usage
Delivers the icon and/or a link of the game that has this abbreviation. Can also obtain the game color.
This template is based on {{Software}}.
Parameters
- {{{1}}} – Optional: The representation, see the examples below. Can be set to: 1,2,3,3.1,4,4.1,col,in,also,only,since,removed,not;
- {{{nt}}} – Optional: This option allows you to select a custom game and software name if it is specified in the template. 0 is most often a game abbreviation. You can click on "Edit" to view the available game/software names.
- {{{addtext}}} – Optional: If {{{1}}} is set to in,also,only,since,removedornot, then the value of this parameter is inserted right after the game icon. Useful for multiple game icons.
Parameters exclusive to {{iOS}}, {{Mac}}, and some templates (such as {{Win7}})
- {{{ver}}} – Optional: Set version number, for the operating systems, probably might works similar to addtextbut affects everything, including links to Wikipedia article. Wikipedia article.
- {{{linkto}}} – Optional: Changes the Wikipedia link, in this template, when you click on the link that have {{{linkto|iPadOS}}} on it, you will read the  iPadOS article on Wikipedia instead of iPadOS article on Wikipedia instead of iOS. iOS.
Translations
Some Translations are handled by the {{In text}} Template. Others (such as game title/software title, etc...) will use {{Autolang}}.
Examples
 Note:Some of the examples given may lead to non-existent pages.
Note:Some of the examples given may lead to non-existent pages.| {{ios}} | →   | 
| {{ios|1}} | → iOS | 
| {{ios|2}} | →  iOS | 
| {{ios|3}} | → iOS | 
| {{ios|3.1}} | → iOS | 
| {{ios|4}} | →  iOS | 
| {{ios|4.1}} | →  iOS | 
| {{ios|4|nt=0}} | →  iPhone OS | 
| {{ios|4|nt=1}} | →  iPadOS | 
| {{ios|4|nt=ipad}} | →  iPadOS | 
| {{ios|4|nt=iphoneos}} | →  iPhone OS | 
| {{ios|4|nt=iPadOS|linkto=iPadOS}} | →  iPadOS | 
| {{ios|4|ver=17}} | →  iOS 17 | 
| {{ios|col}} | → #FFFFFF | 
| {{ios|in}} | → (in  ) | 
| {{ios|only}} | → (only in  ) | 
| {{ios|since}} | → (in all games since  ) | 
| {{ios|not}} | → (not in  ) | 
| {{ios|removed}} | → (removed since  ) | 
| {{ios|also|addtext={{csgo}} {{l4d2}}}} | → (also in     ) |