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: {{{Validated|}}} | Yes | {{#ifeq: {{{Active|}}} | Yes | {{#ifeq: {{{Collect statistics|}}} | Yes | = Usage =

General Statistics
{{#if: {{PAGEID}} | {{#ifeq: {{{Collect statistics|}}} | Yes | {{#get_db_data: db=apiary }} {{{!}} style="width:250px; ! style="width:150px; text-align:left;" {{!}} Users {{!}}- {{!}} 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;" {{!}} Contents {{!}}- {{!}} 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;" {{!}} Activity {{!}}- {{!}} 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 = API: Has API URL::