Template talk:Yes: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Caesar Schinas
(variable text)
 
imported>Caesar Schinas
(→‎variable text: corrected code snippet)
 
Line 2: Line 2:


I was wondering about changing both this and {{[[Template:no|no]]}} so that they could be used with variable / custom text, like on WP. I've never edited a MediaWiki template before; will changing it to the following work? (from [http://en.wikipedia.org/wiki/Template:Yes Wikipedia:Template:Yes])
I was wondering about changing both this and {{[[Template:no|no]]}} so that they could be used with variable / custom text, like on WP. I've never edited a MediaWiki template before; will changing it to the following work? (from [http://en.wikipedia.org/wiki/Template:Yes Wikipedia:Template:Yes])
  style="background:#90ff90; color:black;" class="table-yes" | {{{1|Yes}}}
  <nowiki>style="background: #90ff90" class="table-yes" | {{{1|Yes}}}</nowiki>
(I'd also like to create a similar table cell template called {{[[Template:partial,|partial,]]}} or similar, like WP. This will be useful for various software articles. Can I just do so?)
(I'd also like to create a similar table cell template called {{[[Template:partial|partial]]}}, or similar, like WP. This will be useful for various software articles. Can I just do so?)
--[[User:Caesar Schinas|Caesar Schinas]] 12:45, 24 November 2008 (UTC)
--[[User:Caesar Schinas|Caesar Schinas]] 12:45, 24 November 2008 (UTC)

Latest revision as of 07:47, 24 November 2008

variable text

I was wondering about changing both this and {{no}} so that they could be used with variable / custom text, like on WP. I've never edited a MediaWiki template before; will changing it to the following work? (from Wikipedia:Template:Yes)

style="background: #90ff90" class="table-yes" | {{{1|Yes}}}

(I'd also like to create a similar table cell template called {{partial}}, or similar, like WP. This will be useful for various software articles. Can I just do so?) --Caesar Schinas 12:45, 24 November 2008 (UTC)