Difference between revisions of "Template:Wiki"

WikiIndex - wikis, wiki people, wiki software, and wiki ideas
Jump to: navigation, search
m (trim out redundant cat)
Line 7: Line 7:
 
-->{{#if:{{{maintopic|}}}|[[Category:{{{maintopic}}}]]}}<!--
 
-->{{#if:{{{maintopic|}}}|[[Category:{{{maintopic}}}]]}}<!--
 
-->{{#if:{{{license|}}}|[[Category:Wiki {{{license}}}]]}}<!--
 
-->{{#if:{{{license|}}}|[[Category:Wiki {{{license}}}]]}}<!--
-->{{#if: {{{wikinode URL|}}}|{{#ifeq: {{{wikinode URL|}}}|No||[[Category:Wikis with a WikiNode]]}}}}<!--
+
-->{{#if:{{{wikinode URL|}}}|{{#ifeq:{{{wikinode URL|}}}|No||[[Category:Wikis with a WikiNode]]}}}}<!--
-->{{#if: {{{mobile URL|}}}|{{#ifeq: {{{mobile URL|}}}|No||[[Category:Wikis with a mobile-view site]]}}}}<!--
+
-->{{#if:{{{mobile URL|}}}|{{#ifeq:{{{mobile URL|}}}|No||[[Category:Wikis with a mobile-view site]]}}}}<!--
-->{{#if: {{{backupurl|}}}|[[Category:Wiki Backups]]}}<!--
+
-->{{#if:{{{backupurl|}}}|[[Category:Wiki Backups]]}}<!--
-->{{#if: {{{wikiFactor|}}}|[[Category:{{wikiFactorCatText|{{{wikiFactor}}}}}]] [[wikiFactor::{{{wikiFactor|0}}}]]}}<!--
+
-->{{#if:{{{wikiFactor|}}}|[[Category:{{wikiFactorCatText|{{{wikiFactor}}}}}]] [[wikiFactor::{{{wikiFactor|0}}}]]}}<!--
 
   Ending categorizing logic
 
   Ending categorizing logic
 
--></includeonly><!--
 
--></includeonly><!--
Line 27: Line 27:
 
!style=text-align:center{{!}}<span class=plainlinks>[{{{URL}}} {{#switch:{{{logo}}}
 
!style=text-align:center{{!}}<span class=plainlinks>[{{{URL}}} {{#switch:{{{logo}}}
 
|No    = [[Category:UnknownWikiLogo]][[File:NoLogo.png|Wiki does not have a logo|alt=Small monochrome image with a white background, displaying the words black text 'no logo'.]]
 
|No    = [[Category:UnknownWikiLogo]][[File:NoLogo.png|Wiki does not have a logo|alt=Small monochrome image with a white background, displaying the words black text 'no logo'.]]
|Upload = [[File:Upload logo.png|Wiki has a logo, but it needs uploading|alt=A square image with a graduated pale brown background, displaying the words black text 'Please Upload Logo'.]]
+
|Upload = [[Category:Wiki site requiring logo upload]][[File:Upload logo.png|Wiki has a logo, but it needs uploading|alt=A square image with a graduated pale brown background, displaying the words black text 'Please Upload Logo'.]]
 
|Private= [[Category:Private]][[File:Private.png|100px|Wiki is private, and we can not verify if it has a logo|alt=A square image with a graduated pink/red background, displaying the words black text 'Private Wiki'.]]
 
|Private= [[Category:Private]][[File:Private.png|100px|Wiki is private, and we can not verify if it has a logo|alt=A square image with a graduated pink/red background, displaying the words black text 'Private Wiki'.]]
 
|Dead  = [[Category:Dead]][[File:404.jpg|100px|Wiki is dead :-((|alt= ]]
 
|Dead  = [[Category:Dead]][[File:404.jpg|100px|Wiki is dead :-((|alt= ]]
Line 67: Line 67:
 
|}</div><!--
 
|}</div><!--
 
   Ending template code--><noinclude>{{clear}}
 
   Ending template code--><noinclude>{{clear}}
See also: [[template:Wiki boilerplate]], [[template:Size]], and specifically for [[:Category:Wikia|Wikia]] wikis: [[template:Wikia boilerplate]].
+
See also: [[template:Wiki boilerplate]], [[template:Size]], and specifically for [[:Category:Wikia|Wikia]]-hosted wikis: [[template:Wikia boilerplate]].
{{wiki boilerplate}}
+
{{Wiki boilerplate}}
 
[[Category:All| ]]
 
[[Category:All| ]]
 
[[Category:Infobox templates]]</noinclude>
 
[[Category:Infobox templates]]</noinclude>

Revision as of 20:47, 22 May 2021

An example of our default wiki article infobox, and how we use structured data here on WikiIndex
[{{{URL}}} {{{logo}}}] [{{{URL}}} Wiki]
[{{{recentchanges URL}}} Recent changes]
[{{{wikinode URL}}} WikiNode]
[{{{about URL}}} About]
[{{{mobile URL}}} Mobile URL]
Status: [[:Category:{{{status}}}|{{{status}}}]]
Language: [[:Category:Wiki {{{language}}}|{{{language}}}]]
Edit mode: [[:Category:{{{editmode}}}|{{{editmode}}}]]
Wiki engine: [[:Category:{{{engine}}}|{{{engine}}}]]
Main topic: [[:Category:{{{maintopic}}}|{{{maintopic}}}]]

See also: template:Wiki boilerplate, template:Size, and specifically for Wikia-hosted wikis: template:Wikia boilerplate. When adding or amending a date for the backup file, or page count and wikiFactor, please use full ISO 8601 date format as shown (YYYY-MM-DD).

{{Wiki <!--see 'Template:Wiki' for full detail-->
|name             = <!--use if wiki name is different from article name, or to include tagline; otherwise, DELETE this field-->
|URL              = YourWikiHttp <!--start with http:// or https:// - eg: https://YourWikiURL.org/wiki/Main_Page; if unknown, 'UnknownWikiURL'-->
|logo             = No <!--you may upload and wikilink, or hot-link to a URL-->
|wide logo        = <!--insert 'y' when the logo is too wide AND / OR the title is too long-->
|recentchanges URL= No <!--https://YourWikiURL.org/wiki/Special:RecentChanges, if none, use 'No'-->
|wikinode URL     = No <!--https://YourWikiURL.org/wiki/WikiNode, if none, use 'No'-->
|about URL        = No <!--https://YourWikiURL.org/wiki/PROJECTNAMESPACE:About, if none, use 'No'-->
|mobile URL       = No <!--https://m.YourWikiURL.org or https://YourWikiURL.org/index.php?title=Main_Page&mobileaction=toggle_view_mobile-->
|founder          = <!--wiki founder(s) name(s); default is plain text, wikilink or hotlink; if unknown leave void-->
|status           = YourWikiStatus <!--'Active' is appropriate for most sites; see Category:Wiki Status for more info-->
|language         = YourWikiLanguage <!--eg: English, Multilingual, Japanese etc; only ONE entry in this field-->
|editmode         = YourWikiEditMode <!--'OpenEdit' if users can edit without logging in, LoginToEdit if not; see Category:Wiki Edit Mode-->
|engine           = YourWikiEngine <!--the software which the wiki runs on, eg: MediaWiki; see Category:Wiki Engine-->
|license          = YourWiki'sLicense <!--preferred; see Category:Wiki License; if NO license, 'NoLicense'-->
|maintopic        = YourWikiTopic <!--the main, primary topic; other sub-topics can be added as tags within the prose below-->
|backupurl        = <!--backup file URL, found at '/Special:Statistics' on Wikia & some other MediaWiki sites-->
|backupdate       = 20YY-MM-DD <!--ISO 8601 date of backup URL, as in YYYY-MM-DD; if unknown leave void-->
}}{{Stub}}<!--use stub template if lacking adequate description, or needing update; remove stub if detailed prose included and up to date-->
{{Size <!--see 'Template:Size' for full detail-->
|pages= <!--type the plain number of pages; NO thousands separators-->
|statistics URL= No <!--page count source (often a '/Special:Statistics' page); if unknown type 'No'-->
|wikiFactor= <!--preferred; if unknown leave void; see: Category:wikiFactor-->
|wikiFactor URL= <!--wF source (often 'PopularPages', 'Mostvisitedpages', 'PageHits'); if unknown leave void-->
}}(Page count as of: 20YY-MM-DD<br>wikiFactor as of: 2012-MM-DD)<!--YYYY-MM-DD; manually add/amend date when stats are verified and/or updated-->

;''Description
<!-- remove this comment (between <!-- and -->) after:
type description of your wiki here, and 'tag' specific notable words to include them into categories as follows {{tag|notable subject}}
(This tag construction is used when you want a word in the text to wikilink to the category of that same name.)

If a taggable category name does not appear in the prose text, use and amend the '[[Category:FirstAdditional]]' etc at the BOTTOM of
the page to manually add categories.  It would also be helpful to add the year of founding, like so... -->
[[Category:FirstAdditional]]
[[Category:SecondAdditional]]
[[Category:FoundedIn20xx]]<!--https://YourWikiURL.org/index.php?title=Special:AncientPages or https://YourWikiURL.org/w/index.php?title=Main_Page&dir=prev&action=history-->
All wiki language boilerplate versions available for template:Wiki