Template:Website

This is the "Website" template. It should be called in the following format:

Edit the page to see the template text. = Overview =

{{#ifeq: {{{Active|}}} | Yes | {{#ifeq: {{#var: collect_stats}} | Yes | = Usage =

General Statistics
{{#if: {{PAGEID}} | {{#ifeq: {{#var: collect_stats}} | Yes | {{#get_db_data: db=apiary }} {{{!}} style="width:250px; ! style="width:150px; text-align:left; border-bottom:1px dotted;" {{!}} Users {{!}}{{!}} style="width:50px; text-align:left; border-bottom:1px dotted;" {{!}} {{!}}- {{!}} style="text-align:left;" {{!}}  Users: {{!}}{{!}} style="text-align:right;" {{!}} Has users count::{{ {{!}}- {{!}} style="text-align:left;" {{!}}   Active users: {{!}}{{!}} style="text-align:right;" {{!}} Has active users count::{{ {{!}}- {{!}} style="text-align:left;" {{!}}   Admins: {{!}}{{!}} style="text-align:right;" {{!}} Has admin count::{{ {{!}}- ! style="text-align:left; border-bottom:1px dotted;" {{!}} Contents {{!}}{{!}} style="width:50px; text-align:left; border-bottom:1px dotted;" {{!}} {{!}}- {{!}} style="text-align:left;" {{!}}   Articles: {{!}}{{!}} style="text-align:right;" {{!}} Has article count::{{ {{!}}- {{!}} style="text-align:left;" {{!}}  Images: {{!}}{{!}} style="text-align:right;" {{!}} Has images count::{{ {{!}}- {{!}} style="text-align:left;" {{!}}  Pages: {{!}}{{!}} style="text-align:right;" {{!}} Has pages count::{{ {{!}}- {{!}} style="text-align:left;" {{!}}    Index: {{!}}{{!}} style="text-align:right;" {{!}} {{#if: {{#external_value:pages}} | Has pages index::{{ }} {{!}}- ! style="text-align:left; border-bottom:1px dotted;" {{!}} Activity {{!}}{{!}} style="width:50px; text-align:left; border-bottom:1px dotted;" {{!}} {{!}}- {{!}} style="text-align:left;" {{!}}  Edits: {{!}}{{!}} style="text-align:right;" {{!}} Has edit count::{{ {{!}}- {{!}} style="text-align:left;" {{!}}  Jobs: {{!}}{{!}} style="text-align:right;" {{!}} Has jobs count::{{ {{!}}- {{!}} style="text-align:left;" {{!}}  Views: {{!}}{{!}} style="text-align:right;" {{!}} {{#if: {{#external_value:views}} | Has views::{{ | n/a }} {{!}}}
 * from=statistics
 * where=website_id={{PAGEID}}
 * limit=1
 * order by=capture_date desc
 * data=capture_date=capture_date,users=users,activeusers=activeusers,admins=admins,articles=articles,edits=edits,images=images,jobs=jobs,pages=pages,views=views

Last updated:  Capture date::{{ }} {{#ifeq: {{{Collect semantic statistics|}}}
 * Yes |

Semantic Statistics
Last updated:  Capture date smw:: }} }} }} }}

= Notifications =

has Has notification count:: notification(s).



= WikiApiary Settings = Collection method: