User:Robert W King/Sandbox

From Citizendium
< User:Robert W King
Revision as of 13:33, 17 August 2007 by imported>Robert W King (→‎Blah)
Jump to navigation Jump to search

Section 4 - Timeline Table Template (documented in HTML comments)

History of Computing Timeline
 
+ ?? BC
 Slamis Tablet
   
 
300 BC-500 AD
 Roman Hand Abacus
   
 
~1200 AD
 Modern Chinese Abacus
   
 
??
 Leonardo Da Vinci writes the "Codex Madrid"
   

Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken


Section 5 - Periodic Table Template (Documented in HTML comments)

Periodic Table Element Template; Large version on right, smaller version in the middle.

Noble Gas Family
 
Helium
4.00    xx  xx  xx
  He
2
x-x  
Neon
20.18    xx  xx  xx
  Ne
10
x-x  
Argon
39.95    xx  xx  xx
  Ar
18
x-x  
Krypton
83.80    xx  xx  xx
  Kr
36
x-x  
Xenon
131.29    xx  xx  xx
  Xe
54
x-x  
Radon
(222.02)    xx  xx  xx
  Rn
86
x-x  
Noble Gas Family
Helium
4.00    xx  xx  xx
  He
2
x-x  

Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken

test using Template:Timeline_Table

Template:Timeline Table












Navigation Test

  Main Article Definition e Related articles Bibliography External links About Subpages  
Tables Gallery Timelines Tutorials Debate Guide News Guide Invited Articles







OnMouseOver test

Chemical test

CSS Test

test

@import url(/wiki?title=User:Robert_W_King/monobook.css);


Blah

One

{{BASEPAGENAME}} 

Robert W King

Two

{{:{{BASEPAGENAME}}/Metadata|info=status}} 

Robert W King/Metadata - Pulled from Robert W King/Metadata


See above "One" and "Two" code. --Robert W King 14:31, 17 August 2007 (CDT)


To decipher C. Day-


Thanks, that's exactly the input I'm hoping for. If you read the explanation on the {{subpages2}} it may become more clear. Basically, it is a central location for all variable relating to the article. As the article grows, improves and eventually goes through approval the metadata changes. With those changes categories change and different tempaltes need to be placed. This happens automatically in response to any author who updates the matadata. This is great since no one has to be making sure that the categories on all the clusters pages are uptodate.
The problem relates to the sub subpages. If you go to the Test article, you can see examples of sub-subpages being linked to from the timeline subpage, the tables subpage and the signed articles subpage.

Ok so those subpages exist.


When the metadata is located in the template namespace the navigation boxes will function fine on the sub-subpages.

What navigation boxes?

However, there is a desire to have the metadata on a subpage of the cluster, i.e. in the article namespace, rather than in the template namespace.

Metadata of... in what?

This causes a problem since the {{subpages2}} template cannot retrive data from the metadata page when it is placed on a sub-subpage if the metadata page is in article namespace.

So what is the nitty gritty of all this?

First, how does the subpages template retrieve data from the metadata page? If retrieving the article status from a template we use {{{{BASEPAGENAME}}/Metadata|info=status}} which will return a value between 0-4 except on sub-subpages, then we use {{../../Metadata|info=status}}. If the metadata is in the article namespace, rather than the template namespace, the template can retrieve the status of article with {{:{{BASEPAGENAME}}/Metadata|info=status}} (note the colon). The problem is that anything ahead of the ../../ code will prevent it from working. So, from the subpages I cannot use the equivalent code {{:../../Metadata|info=status}}.

So in summary. My problem is how can the template, when placed on a sub-subpage, such as a signed article, read information from the metadata page when the metadata page is in article namespace?

how can a template (template of a page)

when placed on a sub-subpage such as a signed article

read information

from the metadata page

when the metadata page is in article namespace? Which metadata page