User:Robert W King/Sandbox: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Robert W King
m (Text replacement - "CZ:Constabulary" to "CZ:Moderator Group")
 
(802 intermediate revisions by 4 users not shown)
Line 1: Line 1:
==Section 4 - Timeline Table Template (not documented) ==
{{AccountNotLive}}
__TOC__
==header thing==


{|border="1" frame=box rules=none align="right" cellpadding="0" cellspacing="0" width="400" style="margin: 0 0 0 0; background:#e5e5e5;"  
{|width=80% align=center border="0" cellpadding="4" cellspacing="0" style="border-bottom:1px solid #999999; border-top:1px solid #dddddd; border-left:1px solid #aaaaaa; border-right:1px solid #dddddd; margin:0 auto; clear: both;" class="collapsible"  
|align="center" colspan="6" width=100%|History of Computing Timeline
!align=center colspan=3 style="background:#{{{color}}}"| ''Citizendium'' [[CZ:{{{title}}}|{{{title}}}]]
|-
|-
|width=100% colspan="6"| 
|style="background:#f5f5f5" align=center colspan=3|{{#if: {{{link1|}}}|{{{link1}}}|}} {{#if: {{{link2|}}}|&#124; {{{link2}}}|}} {{#if: {{{link3|}}}|&#124; {{{link3}}}|}} {{#if: {{{link4|}}}|&#124; {{{link4}}}|}} {{#if: {{{link5|}}}|&#124; {{{link5}}}|}} {{#if: {{{link6|}}}|&#124; {{{link6}}}|}} {{#if: {{{link7|}}}|&#124; {{{link7}}}|}} {{#if: {{{link8|}}}|&#124; {{{link8}}}|}} {{#if: {{{link9|}}}|&#124; {{{link9}}}|}} {{#if: {{{link10|}}}|&#124; {{{link10}}}|}} {{#if: {{{link11|}}}|&#124; {{{link11}}}|}} {{#if: {{{link12|}}}|&#124; {{{link12}}}|}} &#124; [[:Category:{{{title}}}|Other]]{{#if: {{{seealso1|}}}|<br>See also: {{{seealso1}}}|}} {{#if: {{{seealso2|}}}|&#124; {{{seealso2}}}|}} {{#if: {{{seealso3|}}}|&#124; {{{seealso3}}}|}}
|-
|-
|align="center" width=40|
|width=10% align=center style="background:#f5f5f5"|<small>[[CZ:Home|Home]]</small>
|align="center" width=100|?? BC
|
|<hr width=40/>
{|border="0" align=center cellpadding=3px style="background:#F5F5F5; cell-spacing:2px;"
|align="left" colspan="3"|&nbsp;Slamis Tablet
|align="center" NOWRAP|<small>[[CZ:Getting Started|Getting Started]]</small>
|align="center" NOWRAP|<small>[[CZ:Organization|Organization]]</small>
|align="center" NOWRAP|<small>[[CZ:Technical Help|Technical Help]]</small>  
|align="center" NOWRAP|<small>[[CZ:Content Policy|Content Policy]]</small>
|align="center" NOWRAP|<small>[[CZ:Article Lists|Article Lists]]</small>
|-
|-
!style="align: center;"|
|align="center" NOWRAP|<small>[[CZ:Initiatives|Initiatives]]</small>
{|border="1" frame=void rules=all width=100% cellpadding="0" cellspacing="0" align="left" style="margin: 0 0 0 0; background:#e5e5e5;"
|align="center" NOWRAP|<small>[[CZ:Communication|Communication]]</small>
|width=50% height=10px|&nbsp;
|align="center" NOWRAP|<small>[[CZ:Editor Policy|Editor Policy]]</small>
|width=50%|&nbsp;
|align="center" NOWRAP|<small>[[CZ:Editorial Council|Editorial Council]]</small>
|align="center" NOWRAP|<small>[[CZ:Moderator Group|Constabulary]]</small>
|}
|}
|colspan="5" align="center"|
|width=10% align=center style="background:#F5F5F5"|<small>[[Main Page]]</small>
|-
|width=40|
{|border="1" frame=void rules=all width=100% cellpadding="0" cellspacing="0" align="center" style="margin: 0 0 0 0; background: #e5e5e5;"
|width=50% height=40px|&nbsp;
|<hr width=100%/>
|}
|}
|align="center" width=100|300 BC-500 AD
 
|<hr width=40/>
==Timeline==
|align="left" colspan="3"|&nbsp;Roman Hand Abacus
 
|-
{{timeline
!style="align: center;"|
|height=5
{|border="1" frame=void rules=all width=100% cellpadding="0" cellspacing="0" align="left" style="margin: 0 0 0 0; background: #e5e5e5; height=100%;"
|title=&nbsp;}}
|width=50% height=10px|&nbsp;
{{tlevent
|width=50%|&nbsp;
|width=250px
|}
|event=This happened (250 pixels wide)
|colspan="5" align="center"|
|color=#FFF
|-
}}
|width=40|
{{tlsubevent
{|border="1" frame=void rules=all width=100% cellpadding="0" cellspacing="0" align="center" style="margin: 0 0 0 0; background: #e5e5e5;"
|event=something. something. something. something. (350)
|width=50% height=40px|&nbsp;
|width=350px
|<hr width=100%/>
|color=#EEEEEE
|}
|height=30px
|align="center" width=100|~1200 AD
|margin=40px
|<hr width=40/>
}}
|align="left" colspan="3"|&nbsp;Modern Chinese Abacus
{{tlsubevent
|-
|event=something. something. something. something. something. something. something. something. something. something. something. something. something. something. something. something. (500)
!style="align: center;"|
|width=500px
{|border="1" frame=void rules=all width=100% cellpadding="0" cellspacing="0" align="left" style="margin: 0 0 0 0; background: #e5e5e5;"
|color=#EEEEEE
|width=50% height=10px|&nbsp;
|height=40px
|width=50%|&nbsp;
|margin=40px
|}
}}
|colspan="5" align="center"|
{{tlevent
|-
|width=250px
|width=40|
|event=This happened (250 pixels wide)
{|border="1" frame=void rules=all width=100% cellpadding="0" cellspacing="0" align="center" style="margin: 0 0 0 0; background: #e5e5e5;"
|color=#FFF
|width=50% height=40px|&nbsp;
}}
|<hr width=100%/>
{{tlsubevent
|}
|event=something. something. something. something. something. something. something. something. something. something. something. something. something. something. something. something. (250)
|align="center" width=100|??
|width=250px
|<hr width=40/>
|color=#EEEEEE
|align="left" colspan="3"|&nbsp;Leonardo Da Vinci writes the "Codex Madrid"
|height=30px
|-
|margin=40px
!style="align: center;"|
}}
{|border="1" frame=void rules=all width=100% cellpadding="0" cellspacing="0" align="left" style="margin: 0 0 0 0; background: #e5e5e5;"
{{tlsubevent
|width=50% height=10px|&nbsp;
|event=something. something. something. something. something. something. something. something. something. something. something. something. something. something. something. something. (500)
|width=50%|&nbsp;
|width=500px
|}
|color=#EEEEEE
|colspan="5" align="center"|
|height=150px
|margin=40px
}}
{{tlevent
|width=250px
|event=This other really long thing happened that I can't possibly use to describe in words, other than chicken, chicken, and chicken. (250 pixels wide)
|color=#FFF
}}
{{tlsubevent
|event=something. something. (100)
|width=100px
|color=#EEEEEE
|height=30px
|margin=40px
}}
{{tlsubevent
|event=something. something. something. something. something. something. something. something. something. something. something. something. something. something. something. something. (500)
|width=500px
|color=#EEEEEE
|height=150px
|margin=40px
}}
{{tlevent
|width=250px
|event=This other really long thing happened that I can't possibly use to describe in words, other than chicken, chicken, and chicken. (250 pixels wide)
|color=#FFF
}}
|}
|}
<br/>
<br/>
<br/>
<br/>
<br/>
==Sort test==
<div style="background-color:#FFF; width:80%">
<div style="position:relative;
left:50px;
float:left;
width:auto;
background-color:#AAF;"><font style="padding:  2px; margin:2px;">'''5'''</font></div>
<div style="position:relative;
float:left;
left:100px;
width:auto;
background-color:#AFF;"><font style="padding:  2px; margin:2px;">'''4'''</font></div>
<div style="position:relative;
float:left;
left:150px;
width:auto;
background-color:#FAF;"><font style="padding:  2px; margin:2px;">'''3'''</font></div>
<div style="position:relative;
float:left;
left:200px;
width:auto;
background-color:#FFA;"><font style="padding:  2px; margin:2px;">'''2'''</font></div>
<div style="position:relative;
float:left;
left:250px;
width:auto;
background-color:#0FF;"><font style="padding:  2px; margin:2px;">'''1'''</font></div>
<div style="position:relative;
float:left;
left:300px;
width:auto;
background-color:#F0F;"><font style="padding:  2px; margin:2px;">'''0'''</font></div>
</div>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
==pl test==
{{H:title|Hover|Hover over me!}}
==CNW test==
{{cnw|[[hydrogen]]}}
==U and D test==
C{{U|5}}C{{D|5}}3{{U|7}}x{{D|32}}


Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken Chicken
A{{u|b}}c{{d|d}}e{{u|F}}G{{d|H}}


==Section 5 - Periodic Table Template (Documented)==
==PD table==


Periodic Table Element Template
{|border="1" width=100% style="border:1px solid #FFF;"
{|border="1" width="141" frame=box rules=none align="right" cellpadding="0" cellspacing="0" style="margin: 0 0 0 0; background:#e5e5e5;"  
|colspan=10 align="center" style="background-color:#FFDAA2;"|<big>'''Unpublished Works'''</big>
<!-- Family Name -->
|align="center"|Noble Gas Family
|-
|&nbsp;
<!-- COLUMN STARTS HERE -->
<!-- change background to reflect position on periodic table -->
{|border="1" width="140" frame=box rules=none align="right" cellpadding="3" cellspacing="0" style="margin: 0 0 0 0; background:#e5e5e5;"  
<!-- name of element -->
|align="center" width=100% colspan="4"|'''Helium'''
|-
|-
|align="center" style="background-color:#FFF1E8;"|Author type
|align="center" style="background-color:#FFF1E8;"|Author status
|align="center" style="background-color:#FFF1E8;"|Date of Death
|align="center" style="background-color:#FFF1E8;"|Created date
|align="center" style="background-color:#FFF1E8;"|Was it Published?
|align="center" style="background-color:#FFF1E8;"|Has Copyright notice?
|align="center" style="background-color:#FFF1E8;"|Is registered?
|align="center" style="background-color:#FFF1E8;"|Is it a Corporate work?
|align="center" style="background-color:#FFF1E8;"|When PD
|align="center" style="background-color:#FFF1E8;"|As of 1 Jan 2008?
|-
|-
<!-- atomic mass -->
|align="center"|Named
|width="35"|<font size=1em>4.00</font>
|align="center"|Dead
<!-- leave blank -->
|align="center"|Before 1938
|align="center" width="35"|&nbsp;
|align="center"|&nbsp;
<!-- selected oxidation states, add a nonbreakingspace in front of each number-->
|align="center"|n/a
|rowspan="4" colspan="2" valign="top" align="right" width="35"|<font size=2px>&nbsp;xx &nbsp;xx &nbsp;xx</font>
|align="center"|n/a
|align="center"|no
|align="center"|no
|align="center"|Death + 70 yrs
|align="center"|yes
|-
|-
<!-- leave blank -->
|align="center"|<nowiki>--</nowiki>
|&nbsp;
|align="center"|Dead
<!-- symbol -->
|align="center"|Before 1938
|rowspan="2" align="center" width="35"|<font size=6px>'''He'''</font>
|align="center"|Before 1978
|align="center"|After 2002
|align="center"|n/a
|align="center"|no
|align="center"|&nbsp;
|align="center"|Death + 70 years
|align="center"|Verify based on conditions
|-
|-
<!-- atomic number -->
|align="center"|<nowiki>--</nowiki>
|align="left"|<font size=4px>'''2'''</font>
|align="center"|Dead
|-
|align="center"|Death unknown
<!-- electron configuration -->
|align="center"|Before 1888
|align="left"|<font size=2px>x-x</font>
|align="center"|n/a
<!-- leave blank -->
|align="center"|n/a
|&nbsp;
|align="center"|no
|}
|align="center"|&nbsp;
|align="center"|Creation + 120 yrs
|align="center"|yes
|-
|-
|
|align="center"|Anonymous
<!-- change background to reflect position on periodic table -->
|align="center"|unknown
{|border="1" width="140" frame=box rules=none align="right" cellpadding="3" cellspacing="0" style="margin: 0 0 0 0; background:#e5e5e5;"  
|align="center"|unknown
<!-- name of element -->
|align="center"|Before 1888
|align="center" width=100% colspan="4"|'''Neon'''
|align="center"|n/a
|align="center"|n/a
|align="center"|no
|align="center"|no
|align="center"|Creation + 120 yrs
|align="center"|yes
|-
|-
|align="center"|Pseudonymous
|align="center"|unknown
|align="center"|unknown
|align="center"|Before 1888
|align="center"|n/a
|align="center"|n/a
|align="center"|no
|align="center"|no
|align="center"|Creation + 120 yrs
|align="center"|yes
|-
|-
<!-- atomic mass -->
|align="center"|For hire/corporate
|width="35"|<font size=1em>20.18</font>
|align="center"|unknown
<!-- leave blank -->
|align="center"|unknown
|align="center" width="35"|&nbsp;
|align="center"|Before 1888
<!-- selected oxidation states, add a nonbreakingspace in front of each number-->
|align="center"|n/a
|rowspan="4" colspan="2" valign="top" align="right" width="35"|<font size=2px>&nbsp;xx &nbsp;xx &nbsp;xx</font>
|align="center"|n/a
|align="center"|no
|align="center"|'''yes'''
|align="center"|Creation + 120 yrs
|align="center"|yes
|-
|-
<!-- leave blank -->
|colspan=10 align="center" style="background-color:#FFDAA2;"|<big>'''Published Works'''</big>
|&nbsp;
<!-- symbol -->
|rowspan="2" align="center" width="35"|<font size=6px>'''Ne'''</font>
|-
|-
<!-- atomic number -->
|align="center"|<nowiki>--</nowiki>
|align="left"|<font size=4px>'''10'''</font>
|align="center"|<nowiki>--</nowiki>
|align="center"|<nowiki>--</nowiki>
|align="center"|<nowiki>--</nowiki>
|align="center"|Before 1923
|align="center"|n/a
|align="center"|&nbsp;
|align="center"|&nbsp;
|align="center"|&nbsp;
|align="center"|yes
|-
|-
<!-- electron configuration -->
|align="center"|<nowiki>--</nowiki>
|align="left"|<font size=2px>x-x</font>
|align="center"|<nowiki>--</nowiki>
<!-- leave blank -->
|align="center"|<nowiki>--</nowiki>
|&nbsp;
|align="center"|<nowiki>--</nowiki>
|}
|align="center"|1923 -> 1977
|align="center"|No CR notice
|align="center"|&nbsp;
|align="center"|&nbsp;
|align="center"|&nbsp;
|align="center"|yes
|-
|-
|
|align="center"|<nowiki>--</nowiki>
 
|align="center"|<nowiki>--</nowiki>
<!-- change background to reflect position on periodic table -->
|align="center"|<nowiki>--</nowiki>
{|border="1" width="140" frame=box rules=none align="right" cellpadding="3" cellspacing="0" style="margin: 0 0 0 0; background:#e5e5e5;"
|align="center"|<nowiki>--</nowiki>
<!-- name of element -->
|align="center"|1978 -> 1-Mar-1989
|align="center" width=100% colspan="4"|'''Argon'''
|align="center"|No CR notice
|align="center"|no
|align="center"|&nbsp;
|align="center"|&nbsp;
|align="center"|yes
|-
|-
|align="center"|<nowiki>--</nowiki>
|align="center"|<nowiki>--</nowiki>
|align="center"|<nowiki>--</nowiki>
|align="center"|<nowiki>--</nowiki>
|align="center"|1923 -> 1963
|align="center"|Yes, not renewed
|align="center"|&nbsp;
|align="center"|&nbsp;
|align="center"|&nbsp;
|align="center"|yes
|-
|-
<!-- atomic mass -->
|colspan=10 align="center" style="background-color:#FFDAA2;"|<big>'''Works published outside the US'''</big>
|width="35"|<font size=1em>39.95</font>
<!-- leave blank -->
|align="center" width="35"|&nbsp;
<!-- selected oxidation states, add a nonbreakingspace in front of each number-->
|rowspan="4" colspan="2" valign="top" align="right" width="35"|<font size=2px>&nbsp;xx &nbsp;xx &nbsp;xx</font>
|-
|-
<!-- leave blank -->
|align="center"|<nowiki>--</nowiki>
|&nbsp;
|align="center"|<nowiki>--</nowiki>
<!-- symbol -->
|align="center"|<nowiki>--</nowiki>
|rowspan="2" align="center" width="35"|<font size=6px>'''Ar'''</font>
|align="center"|<nowiki>--</nowiki>
|align="center"|Before 1923
|align="center"|<nowiki>--</nowiki>
|align="center"|&nbsp;
|align="center"|&nbsp;
|align="center"|&nbsp;
|align="center"|yes
|-
|-
<!-- atomic number -->
|align="center"|<nowiki>--</nowiki>
|align="left"|<font size=4px>'''18'''</font>
|align="center"|<nowiki>--</nowiki>
|align="center"|<nowiki>--</nowiki>
|align="center"|<nowiki>--</nowiki>
|align="center"|1923 -> 1977
|align="center"|no
|align="center"|no
|align="center"|&nbsp;
|align="center"|If in origin as of 1/1/96
|align="center"|yes
|-
|-
<!-- electron configuration -->
|align="center"|<nowiki>--</nowiki>
|align="left"|<font size=2px>x-x</font>
|align="center"|<nowiki>--</nowiki>
<!-- leave blank -->
|align="center"|<nowiki>--</nowiki>
|&nbsp;
|align="center"|<nowiki>--</nowiki>
|align="center"|After 1-Jan-1978
|align="center"|no
|align="center"|no
|align="center"|&nbsp;
|align="center"|If in origin as of 1/1/96
|align="center"|yes
|}
|}
|-
|


<!-- change background to reflect position on periodic table -->
{|border="1" width="140" frame=box rules=none align="right" cellpadding="3" cellspacing="0" style="margin: 0 0 0 0; background:#e5e5e5;"
<!-- name of element -->
|align="center" width=100% colspan="4"|'''Krypton'''
|-
|-
<!-- atomic mass -->
|width="35"|<font size=1em>83.80</font>
<!-- leave blank -->
|align="center" width="35"|&nbsp;
<!-- selected oxidation states, add a nonbreakingspace in front of each number-->
|rowspan="4" colspan="2" valign="top" align="right" width="35"|<font size=2px>&nbsp;xx &nbsp;xx &nbsp;xx</font>
|-
<!-- leave blank -->
|&nbsp;
<!-- symbol -->
|rowspan="2" align="center" width="35"|<font size=6px>'''Kr'''</font>
|-
<!-- atomic number -->
|align="left"|<font size=4px>'''36'''</font>
|-
<!-- electron configuration -->
|align="left"|<font size=2px>x-x</font>
<!-- leave blank -->
|&nbsp;
|}
|-
|


<!-- change background to reflect position on periodic table -->
{|border="1" width="140" frame=box rules=none align="right" cellpadding="3" cellspacing="0" style="margin: 0 0 0 0; background:#e5e5e5;"
<!-- name of element -->
|align="center" width=100% colspan="4"|'''Xenon'''
|-
|-
<!-- atomic mass -->
|width="35"|<font size=1em>131.29</font>
<!-- leave blank -->
|align="center" width="35"|&nbsp;
<!-- selected oxidation states, add a nonbreakingspace in front of each number-->
|rowspan="4" colspan="2" valign="top" align="right" width="35"|<font size=2px>&nbsp;xx &nbsp;xx &nbsp;xx</font>
|-
<!-- leave blank -->
|&nbsp;
<!-- symbol -->
|rowspan="2" align="center" width="35"|<font size=6px>'''Xe'''</font>
|-
<!-- atomic number -->
|align="left"|<font size=4px>'''54'''</font>
|-
<!-- electron configuration -->
|align="left"|<font size=2px>x-x</font>
<!-- leave blank -->
|&nbsp;
|}
|-
|


<!-- change background to reflect position on periodic table -->
==VB Module for Extracting Contributions==
{|border="1" width="140" frame=box rules=none align="right" cellpadding="3" cellspacing="0" style="margin: 0 0 0 0; background:#e5e5e5;"
<pre>
<!-- name of element -->
Module Module1
|align="center" width=100% colspan="4"|'''Radon'''
 
|-
    Dim url
|-
    Dim CZ
<!-- atomic mass -->
    Dim wikipath
|width="35"|<font size=1em>(222.02)</font>
    Dim totalcdata
<!-- leave blank -->
    Dim title
|align="center" width="35"|&nbsp;
    Dim currentid
<!-- selected oxidation states, add a nonbreakingspace in front of each number-->
    Dim articleid
|rowspan="4" colspan="2" valign="top" align="right" width="35"|<font size=2px>&nbsp;xx &nbsp;xx &nbsp;xx</font>
    Dim oldid
|-
    Dim latestid
<!-- leave blank -->
    Dim diffclass
|&nbsp;
 
<!-- symbol -->
    Sub Main()
|rowspan="2" align="center" width="35"|<font size=6px>'''Rn'''</font>
        Dim T
|-
 
<!-- atomic number -->
        T = 0
|align="left"|<font size=4px>'''86'''</font>
        initCZ()
|-
        title = "fire"
<!-- electron configuration -->
        url = wikipath + "/" + title
|align="left"|<font size=2px>x-x</font>
        CZ.navigate(url)
<!-- leave blank -->
        Do Until CZ.readyState = 4
|&nbsp;
 
|}
        Loop
|}
        getcdata()
<!-- Smaller Version -->
 
<!-- begin here      -->
        articleid = Right(Mid(totalcdata, InStr(totalcdata, "wgArticleId"), 24), 9)
<!--                -->
        currentid = Right(Mid(totalcdata, InStr(totalcdata, "CurRevisionId"), 26), 9)
{|border="1" width="113" frame=box rules=none align="center" cellpadding="0" cellspacing="0" style="margin: 0 0 0 0; background:#e5e5e5;"  
 
<!-- Family Name -->
        navtorecentdiff()
|align="center"|Noble Gas Family
 
<!-- COLUMN STARTS HERE -->
        Do
<!-- change background to reflect position on periodic table -->
            getoldid()
{|border="1" width="112" align="right" cellpadding="3" cellspacing="0" style="margin: 0 0 0 0; background:#e5e5e5;"  
            If latestid <> oldid Then
<!-- name of element -->
 
|align="center" width=100% colspan="4"|<font size=2px>'''Helium'''</font>
                getinsdiffchange()
|-
                getdeldiffchange()
<!-- atomic mass -->
                navolddiff()
|width="28" valign="top" align="left"|<font size=1px>4.00</font>
            End If
<!-- leave blank -->
 
|align="center" width="28"|&nbsp;
        Loop While latestid <> oldid
<!-- selected oxidation states, add a nonbreakingspace in front of each number-->
 
|rowspan="4" colspan="2" valign="top" align="right" width="28"|<font size=1px>&nbsp;xx &nbsp;xx &nbsp;xx</font>
    End Sub
|-
    Function initCZ()
<!-- leave blank -->
        wikipath = "http://en.citizendium.org/wiki"
|&nbsp;
        CZ = CreateObject("InternetExplorer.Application")
<!-- symbol -->
        CZ.Toolbar = 0
|rowspan="2" align="center" width="28"|<font size=3px>'''He'''</font>
        CZ.Visible = 1
|-
        CZ.navigate(wikipath)
<!-- atomic number -->
        Do Until CZ.readyState = 4
|align="left"|<font size=2px>'''2'''</font>
        Loop
|-
        Return CZ
<!-- electron configuration -->
    End Function
|align="left"|<font size=1px>x-x</font>
 
<!-- leave blank -->
    Function getcdata()
|&nbsp;
        Dim tags
|}
        Dim thing
|-
        Dim x
|
        Dim test
 
        x = 0
        tags = CZ.document.getElementsbyTagName("script")
 
        For Each Items In tags
            thing = tags.Item(x).innerHtml
            test = InStr(thing, "CDATA")
            If test <> 0 Then
                totalcdata = thing
                Exit For
            End If
            x = x + 1
        Next
        Return totalcdata
    End Function
 
    Function navtorecentdiff()
        url = wikipath + "?title=" + title + "&diff=prev&oldid=" + (Right(currentid, 9))
        CZ.navigate(url)
        Do Until CZ.readystate = 4
 
        Loop
        Return url
    End Function
 
    Function getoldid()
        Dim tags
        Dim thing
        Dim x
        Dim test
 
        x = 0
        tags = CZ.document.getElementsbyTagName("a")
 
        For Each Items In tags
            thing = tags.Item(x).outerHtml
            test = InStr(thing, "oldid")
            If test <> 0 Then
                latestid = oldid
                oldid = Mid(thing, test + 6, 9)
                Exit For
            End If
            x = x + 1
        Next
 
        Return oldid
    End Function
 
    Function navolddiff()
        url = wikipath + "?title=" + title + "&diff=prev&oldid=" + oldid
        CZ.navigate(url)
        Do Until CZ.readystate = 4
 
        Loop
        Return url
 
    End Function
 
    Function getinsdiffchange()
        Dim tags
        Dim thing
        Dim x
        Dim test
        Dim totalwrite
 
        x = 0
        tags = CZ.document.getElementsbyTagName("ins")
 
        For Each Items In tags
            thing = tags.Item(x).innerHtml
            test = InStr(thing, "class=diffchange")
            If thing <> Nothing Then
                diffclass = diffclass + "+" + "'" + thing + "'" + "; "
            End If
            x = x + 1
        Next
        totalwrite = title + " | " + articleid + " | " + latestid + " | " + diffclass + vbCrLf
        IO.File.AppendAllText(("c:\" + title + "_insdiffchange.txt"), totalwrite)
        diffclass = Nothing
        Return diffclass
    End Function
 
    Function getdeldiffchange()
        Dim tags
        Dim thing
        Dim x
        Dim test
        Dim totalwrite
 
        x = 0
        tags = CZ.document.getElementsbyTagName("del")
 
        For Each Items In tags
            thing = tags.Item(x).innerHtml
            test = InStr(thing, "class=diffchange")
            If thing <> Nothing Then
                diffclass = diffclass + "-" + "'" + thing + "'" + "; "
            End If
            x = x + 1
        Next
        totalwrite = title + " | " + articleid + " | " + latestid + " | " + diffclass + vbCrLf
        IO.File.AppendAllText(("c:\" + title + "_deldiffchange.txt"), totalwrite)
        diffclass = Nothing
        Return diffclass
    End Function
 
End Module
</pre>
 
==Excel VB Script version==
<pre>
Function grabdiffdata()
    Dim url
    Dim CZ
    Dim wikipath
    Dim totalcdata
    Dim title
    Dim currentid
    Dim articleid
    Dim oldid
    Dim latestid
    Dim diffclass
    Dim T
    Dim tags
    Dim thing
    Dim x
    Dim test
    Dim totalwrite
 
    T = 0
 
    wikipath = "http://en.citizendium.org/wiki"
    Set CZ = CreateObject("InternetExplorer.Application")
    CZ.Toolbar = 0
    CZ.Visible = 1
    CZ.navigate (wikipath)
        Do Until CZ.readyState = 4
        Loop
 
    title = "fire"
    url = wikipath + "/" + title
    CZ.navigate (url)
        Do Until CZ.readyState = 4
        Loop
 
    x = 0
    Set tags = CZ.document.getElementsByTagName("script")
        For Each Items In tags
            thing = tags.Item(x).innerHTML
            test = InStr(thing, "CDATA")
            If test <> 0 Then
                totalcdata = thing
                Exit For
            End If
            x = x + 1
        Next
 
    articleid = Right(Mid(totalcdata, InStr(totalcdata, "wgArticleId"), 24), 9)
    currentid = Right(Mid(totalcdata, InStr(totalcdata, "CurRevisionId"), 26), 9)
 
    url = wikipath + "?title=" + title + "&diff=prev&oldid=" + (Right(currentid, 9))
    CZ.navigate (url)
        Do Until CZ.readyState = 4
        Loop
 
        Do
            x = 0
            Set tags = CZ.document.getElementsByTagName("a")
                For Each Items In tags
                    thing = tags.Item(x).outerHTML
                    test = InStr(thing, "oldid")
                    If test <> 0 Then
                        latestid = oldid
                        oldid = Mid(thing, test + 6, 9)
                        Exit For
                    End If
                x = x + 1
                Next


|}
            If latestid <> oldid Then
                x = 0
                Set tags = CZ.document.getElementsByTagName("ins")
                    For Each Items In tags
                        thing = tags.Item(x).innerHTML
                        test = InStr(thing, "class=diffchange")
                        If thing <> Empty Then
                            diffclass = diffclass + "+" + "'" + thing + "'" + "; "
                        End If
                    x = x + 1
                    Next
                totalwrite = title + " | " + articleid + " | " + latestid + " | " + diffclass + vbCrLf
                'IO.File.AppendAllText(("c:\" + title + "_insdiffchange.txt"), totalwrite)
                diffclass = Empty
       
                x = 0
                Set tags = CZ.document.getElementsByTagName("del")
                For Each Items In tags
                    thing = tags.Item(x).innerHTML
                    test = InStr(thing, "class=diffchange")
                    If thing <> Empty Then
                        diffclass = diffclass + "-" + "'" + thing + "'" + "; "
                    End If
                    x = x + 1
                Next
                totalwrite = title + " | " + articleid + " | " + latestid + " | " + diffclass + vbCrLf
                'IO.File.AppendAllText(("c:\" + title + "_deldiffchange.txt"), totalwrite)
                diffclass = Empty
           
                url = wikipath + "?title=" + title + "&diff=prev&oldid=" + oldid
                CZ.navigate (url)
                    Do Until CZ.readyState = 4
                    Loop
        End If
        Loop While latestid <> oldid
 
End Function
</pre>

Latest revision as of 09:46, 7 March 2024


The account of this former contributor was not re-activated after the server upgrade of March 2022.


header thing

Citizendium [[CZ:{{{title}}}|{{{title}}}]]
| [[:Category:{{{title}}}|Other]]
Home
Getting Started Organization Technical Help Content Policy Article Lists
Initiatives Communication Editor Policy Editorial Council Constabulary
Main Page

Timeline

This happened (250 pixels wide)
something. something. something. something. (350)
something. something. something. something. something. something. something. something. something. something. something. something. something. something. something. something. (500)
This happened (250 pixels wide)
something. something. something. something. something. something. something. something. something. something. something. something. something. something. something. something. (250)
something. something. something. something. something. something. something. something. something. something. something. something. something. something. something. something. (500)
This other really long thing happened that I can't possibly use to describe in words, other than chicken, chicken, and chicken. (250 pixels wide)
something. something. (100)
something. something. something. something. something. something. something. something. something. something. something. something. something. something. something. something. (500)
This other really long thing happened that I can't possibly use to describe in words, other than chicken, chicken, and chicken. (250 pixels wide)






Sort test

5
4
3
2
1
0









pl test

Hover over me!

CNW test

Template:Cnw

U and D test

CCTemplate:D3xTemplate:D

AcTemplate:DeGTemplate:D

PD table

Unpublished Works
Author type Author status Date of Death Created date Was it Published? Has Copyright notice? Is registered? Is it a Corporate work? When PD As of 1 Jan 2008?
Named Dead Before 1938   n/a n/a no no Death + 70 yrs yes
-- Dead Before 1938 Before 1978 After 2002 n/a no   Death + 70 years Verify based on conditions
-- Dead Death unknown Before 1888 n/a n/a no   Creation + 120 yrs yes
Anonymous unknown unknown Before 1888 n/a n/a no no Creation + 120 yrs yes
Pseudonymous unknown unknown Before 1888 n/a n/a no no Creation + 120 yrs yes
For hire/corporate unknown unknown Before 1888 n/a n/a no yes Creation + 120 yrs yes
Published Works
-- -- -- -- Before 1923 n/a       yes
-- -- -- -- 1923 -> 1977 No CR notice       yes
-- -- -- -- 1978 -> 1-Mar-1989 No CR notice no     yes
-- -- -- -- 1923 -> 1963 Yes, not renewed       yes
Works published outside the US
-- -- -- -- Before 1923 --       yes
-- -- -- -- 1923 -> 1977 no no   If in origin as of 1/1/96 yes
-- -- -- -- After 1-Jan-1978 no no   If in origin as of 1/1/96 yes


VB Module for Extracting Contributions

Module Module1

    Dim url
    Dim CZ
    Dim wikipath
    Dim totalcdata
    Dim title
    Dim currentid
    Dim articleid
    Dim oldid
    Dim latestid
    Dim diffclass

    Sub Main()
        Dim T

        T = 0
        initCZ()
        title = "fire"
        url = wikipath + "/" + title
        CZ.navigate(url)
        Do Until CZ.readyState = 4

        Loop
        getcdata()

        articleid = Right(Mid(totalcdata, InStr(totalcdata, "wgArticleId"), 24), 9)
        currentid = Right(Mid(totalcdata, InStr(totalcdata, "CurRevisionId"), 26), 9)

        navtorecentdiff()

        Do
            getoldid()
            If latestid <> oldid Then

                getinsdiffchange()
                getdeldiffchange()
                navolddiff()
            End If

        Loop While latestid <> oldid

    End Sub
    Function initCZ()
        wikipath = "http://en.citizendium.org/wiki"
        CZ = CreateObject("InternetExplorer.Application")
        CZ.Toolbar = 0
        CZ.Visible = 1
        CZ.navigate(wikipath)
        Do Until CZ.readyState = 4
        Loop
        Return CZ
    End Function

    Function getcdata()
        Dim tags
        Dim thing
        Dim x
        Dim test

        x = 0
        tags = CZ.document.getElementsbyTagName("script")

        For Each Items In tags
            thing = tags.Item(x).innerHtml
            test = InStr(thing, "CDATA")
            If test <> 0 Then
                totalcdata = thing
                Exit For
            End If
            x = x + 1
        Next
        Return totalcdata
    End Function

    Function navtorecentdiff()
        url = wikipath + "?title=" + title + "&diff=prev&oldid=" + (Right(currentid, 9))
        CZ.navigate(url)
        Do Until CZ.readystate = 4

        Loop
        Return url
    End Function

    Function getoldid()
        Dim tags
        Dim thing
        Dim x
        Dim test

        x = 0
        tags = CZ.document.getElementsbyTagName("a")

        For Each Items In tags
            thing = tags.Item(x).outerHtml
            test = InStr(thing, "oldid")
            If test <> 0 Then
                latestid = oldid
                oldid = Mid(thing, test + 6, 9)
                Exit For
            End If
            x = x + 1
        Next

        Return oldid
    End Function

    Function navolddiff()
        url = wikipath + "?title=" + title + "&diff=prev&oldid=" + oldid
        CZ.navigate(url)
        Do Until CZ.readystate = 4

        Loop
        Return url

    End Function

    Function getinsdiffchange()
        Dim tags
        Dim thing
        Dim x
        Dim test
        Dim totalwrite

        x = 0
        tags = CZ.document.getElementsbyTagName("ins")

        For Each Items In tags
            thing = tags.Item(x).innerHtml
            test = InStr(thing, "class=diffchange")
            If thing <> Nothing Then
                diffclass = diffclass + "+" + "'" + thing + "'" + "; "
            End If
            x = x + 1
        Next
        totalwrite = title + " | " + articleid + " | " + latestid + " | " + diffclass + vbCrLf
        IO.File.AppendAllText(("c:\" + title + "_insdiffchange.txt"), totalwrite)
        diffclass = Nothing
        Return diffclass
    End Function

    Function getdeldiffchange()
        Dim tags
        Dim thing
        Dim x
        Dim test
        Dim totalwrite

        x = 0
        tags = CZ.document.getElementsbyTagName("del")

        For Each Items In tags
            thing = tags.Item(x).innerHtml
            test = InStr(thing, "class=diffchange")
            If thing <> Nothing Then
                diffclass = diffclass + "-" + "'" + thing + "'" + "; "
            End If
            x = x + 1
        Next
        totalwrite = title + " | " + articleid + " | " + latestid + " | " + diffclass + vbCrLf
        IO.File.AppendAllText(("c:\" + title + "_deldiffchange.txt"), totalwrite)
        diffclass = Nothing
        Return diffclass
    End Function

End Module

Excel VB Script version

Function grabdiffdata()
    Dim url
    Dim CZ
    Dim wikipath
    Dim totalcdata
    Dim title
    Dim currentid
    Dim articleid
    Dim oldid
    Dim latestid
    Dim diffclass
    Dim T
    Dim tags
    Dim thing
    Dim x
    Dim test
    Dim totalwrite

    T = 0

    wikipath = "http://en.citizendium.org/wiki"
    Set CZ = CreateObject("InternetExplorer.Application")
    CZ.Toolbar = 0
    CZ.Visible = 1
    CZ.navigate (wikipath)
        Do Until CZ.readyState = 4
        Loop

    title = "fire"
    url = wikipath + "/" + title
    CZ.navigate (url)
        Do Until CZ.readyState = 4
        Loop

    x = 0
    Set tags = CZ.document.getElementsByTagName("script")
        For Each Items In tags
            thing = tags.Item(x).innerHTML
            test = InStr(thing, "CDATA")
            If test <> 0 Then
                totalcdata = thing
                Exit For
            End If
            x = x + 1
        Next

    articleid = Right(Mid(totalcdata, InStr(totalcdata, "wgArticleId"), 24), 9)
    currentid = Right(Mid(totalcdata, InStr(totalcdata, "CurRevisionId"), 26), 9)

    url = wikipath + "?title=" + title + "&diff=prev&oldid=" + (Right(currentid, 9))
    CZ.navigate (url)
        Do Until CZ.readyState = 4
        Loop

        Do
            x = 0
            Set tags = CZ.document.getElementsByTagName("a")
                For Each Items In tags
                    thing = tags.Item(x).outerHTML
                    test = InStr(thing, "oldid")
                    If test <> 0 Then
                        latestid = oldid
                        oldid = Mid(thing, test + 6, 9)
                        Exit For
                    End If
                x = x + 1
                Next

            If latestid <> oldid Then
                x = 0
                Set tags = CZ.document.getElementsByTagName("ins")
                    For Each Items In tags
                        thing = tags.Item(x).innerHTML
                        test = InStr(thing, "class=diffchange")
                        If thing <> Empty Then
                            diffclass = diffclass + "+" + "'" + thing + "'" + "; "
                        End If
                    x = x + 1
                    Next
                totalwrite = title + " | " + articleid + " | " + latestid + " | " + diffclass + vbCrLf
                'IO.File.AppendAllText(("c:\" + title + "_insdiffchange.txt"), totalwrite)
                diffclass = Empty
        
                x = 0
                Set tags = CZ.document.getElementsByTagName("del")
                For Each Items In tags
                    thing = tags.Item(x).innerHTML
                    test = InStr(thing, "class=diffchange")
                    If thing <> Empty Then
                        diffclass = diffclass + "-" + "'" + thing + "'" + "; "
                    End If
                    x = x + 1
                Next
                totalwrite = title + " | " + articleid + " | " + latestid + " | " + diffclass + vbCrLf
                'IO.File.AppendAllText(("c:\" + title + "_deldiffchange.txt"), totalwrite)
                diffclass = Empty
             
                url = wikipath + "?title=" + title + "&diff=prev&oldid=" + oldid
                CZ.navigate (url)
                    Do Until CZ.readyState = 4
                    Loop
        End If
        Loop While latestid <> oldid
   
End Function