Template:Size: Difference between revisions

Using two rows instead of one row and a br, cleaning up, converting table from HTML to wikistyle, added some debugging tests
(Wikia works for me now)
(Using two rows instead of one row and a br, cleaning up, converting table from HTML to wikistyle, added some debugging tests)
Line 1: Line 1:
<table><tr><td style="background-color:#EDEDED; border-style:solid; border-width:1px; margin:4px; padding:4px;">
{|
[[:Category:Wiki Size|Wiki Size]]:  
|-
{{#if: {{{pages|{{{wiki pages|{{{wiki_pages|}}}}}}}}}|[[:Category:{{SizeCat|{{{pages|{{{wiki pages|{{{wiki_pages}}}}}}}}}}}|{{{pages|{{{wiki pages|{{{wiki_pages}}}}}}}}} pages]]|[[:Category:{{{size|{{{wiki size|{{{wiki_size|UnknownSize}}}}}}}}}|{{{size|{{{wiki size|{{{wiki_size|UnknownSize}}}}}}}}}]]}}{{#if: {{{statistics URL|{{{wiki statistics URL|{{{wiki_statistics_URL|}}}}}}}}}|<sup> [{{{statistics URL|{{{wiki statistics URL|{{{wiki_statistics_URL}}}}}}}}} see stats...]</sup>|}}
| style="background-color:#EDEDED; border-style:solid; border-width:1px; margin:4px; padding:4px;" | [[:Category:Wiki Size|Wiki Size]]: {{#if: {{{pages|{{{wiki pages|{{{wiki_pages|}}}}}}}}}|[[:Category:{{SizeCat|<includeonly>{{{pages|{{{wiki pages|{{{wiki_pages}}}}}}}}}</includeonly><noinclude>0</noinclude>}}|<includeonly>{{{pages|{{{wiki pages|{{{wiki_pages}}}}}}}}}</includeonly><noinclude>0</noinclude> pages]]|[[:Category:<includeonly>{{{size|{{{wiki size|{{{wiki_size|UnknownSize}}}}}}}}}</includeonly><noinclude>0</noinclude>|<includeonly>{{{size|{{{wiki size|{{{wiki_size|UnknownSize}}}}}}}}}</includeonly><noinclude>0</noinclude>]]}}{{#if: {{{statistics URL|{{{wiki statistics URL|{{{wiki_statistics_URL|}}}}}}}}}|<sup> [{{{statistics URL|{{{wiki statistics URL|{{{wiki_statistics_URL}}}}}}}}} see stats...]</sup>}}
{{#if: {{{wikiFactor|{{{wiki factor|}}}}}}|<br>[[:Category:WikiFactor|wikiFactor]]: [[:Category:{{WikiFactorCatText|{{{wikiFactor|{{{wiki factor}}}}}}}}|{{{wikiFactor|{{{wiki factor}}}}}}]]{{#if: {{{wikiFactor URL|{{{wiki factor URL|}}}}}}|<sup> [{{{wikiFactor URL|{{{wiki factor URL}}}}}} more info...]</sup>|}}|}}
{{#if: {{{wikiFactor|{{{wiki factor<includeonly>|</includeonly>}}}}}}|
</td></tr></table><includeonly>{{#if: {{{pages|{{{wiki pages|{{{wiki_pages|}}}}}}}}}|[[Category:{{SizeCat|{{{pages|{{{wiki pages|{{{wiki_pages}}}}}}}}}}}]]|[[Category:{{{size|{{{wiki size|{{{wiki_size|UnknownSize}}}}}}}}}]]}}{{#if: {{{size|{{{wiki size|{{{wiki_size|}}}}}}}}}|[[Category:old style size cats]]}}{{#if: {{{wikiFactor|{{{wiki factor|}}}}}}|[[Category:{{WikiFactorCatText|{{{wikiFactor|{{{wiki factor}}}}}}}}]]|}}</includeonly>
{{!}}-
<noinclude>
{{!}} style="background-color:#EDEDED; border-style:solid; border-width:1px; margin:4px; padding:4px;" {{!}} [[:Category:WikiFactor|wikiFactor]]: [[:Category:{{WikiFactorCatText|<includeonly>{{{wikiFactor|{{{wiki factor}}}}}}</includeonly><noinclude>0</noinclude>}}|<includeonly>{{{wikiFactor|{{{wiki factor}}}}}}</includeonly><noinclude>0</noinclude>]]{{#if: {{{wikiFactor URL|{{{wiki factor URL|}}}}}}|<sup> [{{{wikiFactor URL|{{{wiki factor URL}}}}}} more info...]</sup>}}
}}
|}<includeonly>{{#if: {{{pages|{{{wiki pages|{{{wiki_pages|}}}}}}}}}|[[Category:{{SizeCat|{{{pages|{{{wiki pages|{{{wiki_pages}}}}}}}}}}}]]|[[Category:{{{size|{{{wiki size|{{{wiki_size|UnknownSize}}}}}}}}}]]}}{{#if: {{{size|{{{wiki size|{{{wiki_size|}}}}}}}}}|[[Category:old style size cats]]}}{{#if: {{{wikiFactor|{{{wiki factor|}}}}}}|[[Category:{{WikiFactorCatText|{{{wikiFactor|{{{wiki factor}}}}}}}}]]|}}</includeonly><noinclude>
 
 
<div style="clear:both;"></div>


== Parameters ==
== Parameters ==
Line 54: Line 59:
The '''wikiFactor''' is a measure of the 'popularity' of a wiki-site. It is based on the Hirsch [http://en.wikipedia.org/wiki/H-index h-index] which is commonly used to measure the impact a scientist has had in the literature. The wikiFactor complements the number of pages and total number of visits information.
The '''wikiFactor''' is a measure of the 'popularity' of a wiki-site. It is based on the Hirsch [http://en.wikipedia.org/wiki/H-index h-index] which is commonly used to measure the impact a scientist has had in the literature. The wikiFactor complements the number of pages and total number of visits information.
More details can be found in the preprint [http://arXiv.org/abs/0902.3439 "wikiFactor: a measure of the importance of a wiki site"].  
More details can be found in the preprint [http://arXiv.org/abs/0902.3439 "wikiFactor: a measure of the importance of a wiki site"].  
The wikiFactor  is simply the number of pages in the wiki (''wF'') that have had more than 1000 times ''wF'' visits.  
The wikiFactor  is simply the number of pages in the wiki (''wF'') that have had more than 1000 times ''wF'' visits.
 
==== Example ====
==== Example ====
A wikiFactor of, say, 12 means that page number 12 in the ranking of pages visited has received 12,000 or more visits, whereas
A wikiFactor of, say, 12 means that page number 12 in the ranking of pages visited has received 12,000 or more visits, whereas
Line 117: Line 123:


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>
88

edits