Template:Props: Difference between revisions
imported>David Yamakuchi mNo edit summary |
imported>David Yamakuchi mNo edit summary |
||
Line 6: | Line 6: | ||
{{#ifeq:{{SUBPAGENAME}}|Properties||{{!}}colspan="3"{{!}}<font size=4em>'''Properties of [[{{{Material}}}]]'''</font>}} | {{#ifeq:{{SUBPAGENAME}}|Properties||{{!}}colspan="3"{{!}}<font size=4em>'''Properties of [[{{{Material}}}]]'''</font>}} | ||
{{Properties{{:{{{Material}}}/Properties/List}} | |{{Properties{{:{{{Material}}}/Properties/List}} | ||
|Material={{{Material}}} }} | |Material={{{Material}}} }} | ||
Revision as of 16:10, 7 December 2008
Template Usage
- {{Props}} is automatically included on /Properties subpages.
On other pages, use {{Props}} to display a table of properties.
So for instance...
The properties that are listed at Iron/Properties/List are:
Atomic symbol Atomic number Atomic mass etc..
so that when we say:
{{Props|Material=Iron}}
we get:
Properties of Iron
Properties that do not have corresponding subpages do not appear in the table. Since Iron/Atomic number exists, it returns the "value" that is displayed in the table. Iron/Molecular formula does not, and so it does not appear.
There is a limitation in the template expansion logic for CZ. The problem has been fixed with a workaround. Please bear with the growing pains while we try and resolve the issue...Perhaps someday cz will resolve this issue... So, at this time, the only properties that will appear on a "Props" table at this time are:
If you would like to add a particular property to this list, please feel free to edit the template itself ( {{Props}} ). Dont forget to update the /doc as well :-)...http://en.citizendium.org/wiki/Template:Props/doc Also: There is a "sentinel" template at Lithium/Isotopes which implements the "original" logic for Props. It has been left "broken"...it doesn't work but it should... intentionally. Thank you for your patience. |