Difference between revisions of "Template:Ptc"
Jump to navigation
Jump to search
m |
m (Protected "Template:Ptc": policy [edit=sysop:move=sysop] [cascading]) |
||
| (10 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
| − | <div style="text-align:center; border:1px solid black; margin:0; padding:3px; | + | <div style="text-align:center; border:1px solid black; margin:0; padding:3px 5px; background-color:{{{5|pink}}};}}">{{{1}}}<BR><span style="line-height:100%">{{#ifeq:{{{2}}}|| |[[{{{3}}}|{{{2}}}]]}}</span><BR><small><span style="line-height:125%">{{{4}}}</span></small></div><noinclude> |
| + | {{TemplateDoc|pages=[[Periodic table of the elements]]|purpose=Table cell}} | ||
| + | {{parms| | ||
| + | {{parm|1|Number inside the table|yes}} | ||
| + | {{parm|2|Symbol|no|If left blank, there will be no link, and #3 will have no effect.}} | ||
| + | {{parm|3|Full name for wikilink|yes*|Required if #2 is ''not'' blank.}} | ||
| + | {{parm|4|Atomic weight|yes}} | ||
| + | {{parm|5|Background color|no|Defaults to "pink"}} | ||
| + | }} | ||
| + | </noinclude> | ||
Latest revision as of 15:39, January 7, 2009
{{{1}}}
[[{{{3}}}|{{{2}}}]]
{{{4}}}
[[{{{3}}}|{{{2}}}]]
{{{4}}}
| Template: Ptc | |
|---|---|
| Use on | Periodic table of the elements |
| Use for | Table cell |
| Category template applies to page | (none) |
| Template Parameters (See using templates). | |||
|---|---|---|---|
| Name | Purpose | Required? | Comment |
| 1 | Number inside the table | yes | |
| 2 | Symbol | no | If left blank, there will be no link, and #3 will have no effect. |
| 3 | Full name for wikilink | yes* | Required if #2 is not blank. |
| 4 | Atomic weight | yes | |
| 5 | Background color | no | Defaults to "pink" |