Template talk:!: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Okay, but you should document new templates.)
mNo edit summary
 
Line 2: Line 2:
:This template is so you can have the | character appear in other templates. Normally the | is used as a seperator for perameters, so if you want the symbol to appear within the template you use this one. For exmaple, <nowiki>{{key|Ctrl||}}</nowiki> displays {{key|Ctrl||}} so you'd have to do <nowiki>{{key|Ctrl|{{!}}}}</nowiki> to render {{key|Ctrl|{{!}}}} correctly. [[User:Thelonesoldier|Thelonesoldier]] 00:35, 14 March 2011 (UTC)
:This template is so you can have the | character appear in other templates. Normally the | is used as a seperator for perameters, so if you want the symbol to appear within the template you use this one. For exmaple, <nowiki>{{key|Ctrl||}}</nowiki> displays {{key|Ctrl||}} so you'd have to do <nowiki>{{key|Ctrl|{{!}}}}</nowiki> to render {{key|Ctrl|{{!}}}} correctly. [[User:Thelonesoldier|Thelonesoldier]] 00:35, 14 March 2011 (UTC)
::Thank you. However, please document your templates on their own pages as well, so that other people won't become confused over them. --[[User:MossyBucket|MossyBucket (formerly Andreasen)]] 01:01, 14 March 2011 (UTC)
::Thank you. However, please document your templates on their own pages as well, so that other people won't become confused over them. --[[User:MossyBucket|MossyBucket (formerly Andreasen)]] 01:01, 14 March 2011 (UTC)
:::This isn't "my" template. Also, it is used in other templates besides the key template, that was just an example. [[User:Thelonesoldier|Thelonesoldier]] 01:41, 14 March 2011 (UTC)

Latest revision as of 18:41, 13 March 2011

I question the point of this template. Is it that hard to find the "|" character for anyone? You can always cut and paste it from somewhere else. For me, using two characters in different places, will just confuse me. I vote we edit every article that this template is linked to properly, and then flag this template for deletion. --MossyBucket (formerly Andreasen) 00:20, 14 March 2011 (UTC)

This template is so you can have the | character appear in other templates. Normally the | is used as a seperator for perameters, so if you want the symbol to appear within the template you use this one. For exmaple, {{key|Ctrl||}} displays Ctrl so you'd have to do {{key|Ctrl|{{!}}}} to render Ctrl+| correctly. Thelonesoldier 00:35, 14 March 2011 (UTC)
Thank you. However, please document your templates on their own pages as well, so that other people won't become confused over them. --MossyBucket (formerly Andreasen) 01:01, 14 March 2011 (UTC)
This isn't "my" template. Also, it is used in other templates besides the key template, that was just an example. Thelonesoldier 01:41, 14 March 2011 (UTC)