Difference between revisions of "Template:Wiki"

From WikiIndex
Jump to: navigation, search
(add semantic property for WikiNode URL - please watch for potential errors)
(Fort size tweak)
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>[[File:StructuredDataGraph.png|frameless|left|585px|An example of our default wiki article infobox, and how we use [[WikiIndex:StructuredData|structured data]] here on WikiIndex]]</noinclude><includeonly>[[Category:All]]<!--
+
<noinclude>[[File:StructuredDataGraph.png|frameless|left|585px|An example of our default wiki site article infobox, and how we use [[WikiIndex:StructuredData|structured data]] here on WikiIndex.|alt=Image shows a screenshot of the rendered display of the infobox for the WikiIndex article.  It also includes 18 'balloon'-type areas containing descriptions of the various elements of the actual rendered infobox.]]</noinclude><includeonly>[[Category:All]]<!--
 
   Starting categorizing logic
 
   Starting categorizing logic
 
-->{{#if:{{{status|}}}|[[Category:{{{status}}}]]}}<!--
 
-->{{#if:{{{status|}}}|[[Category:{{{status}}}]]}}<!--
Line 16: Line 16:
 
-->{{#set:Wiki status={{{status|}}}|Wiki engine={{{engine|}}}|Wiki edit mode={{{editmode|}}}|Main topic={{{maintopic|}}} }}
 
-->{{#set:Wiki status={{{status|}}}|Wiki engine={{{engine|}}}|Wiki edit mode={{{editmode|}}}|Main topic={{{maintopic|}}} }}
 
<div style="float:right; padding:2px; background:white; border:4px outset gray; margin-left:0.5em; margin-bottom:0.5em">
 
<div style="float:right; padding:2px; background:white; border:4px outset gray; margin-left:0.5em; margin-bottom:0.5em">
{|class=infobox cellpadding=3 style="width:26em; font-size:95%; text-align:left; line-height:1.5em; border:2px inset #A0A7B4"
+
{|class=infobox cellpadding=3 style="width:26em; font-size:96%; text-align:left; line-height:1.5em; border:2px inset #A0A7B4"
 
|-
 
|-
 
{{#ifeq:{{{wide logo|}}}|y|
 
{{#ifeq:{{{wide logo|}}}|y|
 
<!--THEN-->
 
<!--THEN-->
!colspan=2 style=text-align:center{{!}}<span class=plainlinks>[{{{URL}}} {{#ifeq:{{{logo|}}}| |[[File:NoLogo.png|alt=Wiki does not have a logo, a generic 'no logo' image is displayed]][[Category:UnknownWikiLogo]]|{{{logo}}}]</span>
+
!colspan=2 style=text-align:center{{!}}<span class=plainlinks>[{{{URL}}} {{#ifeq:{{{logo|}}}| |[[File:NoLogo.png|Wiki site logo unknown (for variety of reasons), a generic 'no logo' image is displayed|alt=Small rectangular monochrome image, landscape orientation, thin black border with a white background, containing the words 'no logo' in black text.]][[Category:UnknownWikiLogo]]|{{{logo}}}]</span>
 
}}
 
}}
 
{{!}}-
 
{{!}}-
Line 26: Line 26:
 
|<!--ELSE-->
 
|<!--ELSE-->
 
!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:No wiki logo]][[File:NoLogo.png|Wiki site positively confirmed that it does NOT have a logo, a generic 'no logo' image is displayed|alt=Small rectangular monochrome image, landscape orientation, thin black border with a white background, containing the words 'no logo' in black text.]]
|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'.]]
+
|NoLogoYet=[[Category:UnknownWikiLogo]][[File:No Logo Uploaded Yet.png|Possibly new wiki site, yet to create its own logo|alt=A square image with a graduated pale cream background, containing the words 'No Logo Uploaded Yet' in black text.]]
|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'.]]
+
|Unknown  =[[Category:UnknownWikiLogo]][[File:NoLogo.png|Wiki site logo unknown (for variety of reasons), a generic 'no logo' image is displayed|alt=Small rectangular monochrome image, landscape orientation, thin black border with a white background, containing the words 'no logo' in black text.]]
|Dead   = [[Category:Dead]][[File:404.jpg|100px|Wiki is dead :-((|alt= ]]
+
|Upload   =[[Category:Wiki site requiring logo upload]][[File:Upload logo.png|Wiki site has a logo, but it needs uploading here on WikiIndex|alt=A square image with a graduated pale brown background, containing the words 'Please Upload Logo' in black text.]]
|#default= {{{logo}}}
+
|Private =[[Category:Private]][[File:Private.png|75px|Wiki site is private, and we can not verify if it has a logo|alt=A square image with a graduated pink/red background, containing the words 'Private Wiki' in black text.]]
 +
|Dead     =[[Category:Dead]][[File:404.jpg|100px|Wiki site is dead, and we can not find a logo :-((|alt= ]]
 +
|#default ={{{logo}}}
 
}}]</span>
 
}}]</span>
 
{{!}}'''<span style="white-space:nowrap; font-size:18px">{{#ifeq:{{{URL}}}|YourWikiHttp|'''No URL entered'''|[{{{URL}}} {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}]}}</span>'''<br><span style=white-space:nowrap>[{{{recentchanges URL}}} Recent&nbsp;changes]<br>[{{{wikinode URL<includeonly>|No</includeonly>}}} WikiNode][[WikiNode URL::{{{wikinode URL|}}}| ]]<!-- Semantic property --><br>[{{{about URL<includeonly>|No</includeonly>}}} About]<br>[{{{mobile URL<includeonly>|No</includeonly>}}} Mobile URL]</span>
 
{{!}}'''<span style="white-space:nowrap; font-size:18px">{{#ifeq:{{{URL}}}|YourWikiHttp|'''No URL entered'''|[{{{URL}}} {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}]}}</span>'''<br><span style=white-space:nowrap>[{{{recentchanges URL}}} Recent&nbsp;changes]<br>[{{{wikinode URL<includeonly>|No</includeonly>}}} WikiNode][[WikiNode URL::{{{wikinode URL|}}}| ]]<!-- Semantic property --><br>[{{{about URL<includeonly>|No</includeonly>}}} About]<br>[{{{mobile URL<includeonly>|No</includeonly>}}} Mobile URL]</span>
Line 44: Line 46:
 
|-
 
|-
 
!scope=row style=text-align:right|[[:Category:Wiki Language|Language]]:
 
!scope=row style=text-align:right|[[:Category:Wiki Language|Language]]:
|[[:Category:Wiki {{{language}}}|{{{language}}}]]<!-- Semantic property -->
+
|[[:Category:Wiki {{{language}}}|{{{language}}}]][[Wiki language::{{{language|}}}| ]]<!-- Semantic property -->
 
|-
 
|-
 
!scope=row style=text-align:right|[[:Category:Wiki Edit Mode|Edit mode]]:
 
!scope=row style=text-align:right|[[:Category:Wiki Edit Mode|Edit mode]]:
 
|[[:Category:{{{editmode}}}|{{{editmode}}}]]<!-- Semantic property -->
 
|[[:Category:{{{editmode}}}|{{{editmode}}}]]<!-- Semantic property -->
 
|-
 
|-
!scope=row style=text-align:right|[[:Category:Wiki Engine|Wiki engine]]:
+
!scope=row style=text-align:right|[[:Category:Wiki engine|Wiki engine]]:
 
|[[:Category:{{{engine}}}|{{{engine}}}]][[Wiki engine::{{{engine|}}}| ]]<!-- Semantic property -->
 
|[[:Category:{{{engine}}}|{{{engine}}}]][[Wiki engine::{{{engine|}}}| ]]<!-- Semantic property -->
 
{{#if: {{{license|}}}|
 
{{#if: {{{license|}}}|
Line 67: Line 69:
 
|}</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]]-hosted wikis: [[template:Wikia boilerplate]].
+
:See also: [[template: Wiki boilerplate]], [[template: Size]], and specifically for [[:Category:Wikia|Wikia]]-hosted wiki sites: [[template: Wikia boilerplate]].
 
{{Wiki boilerplate}}
 
{{Wiki boilerplate}}
[[Category:All| ]]
+
[[Category:All| ]]
 
[[Category:Infobox templates]]</noinclude>
 
[[Category:Infobox templates]]</noinclude>

Revision as of 01:42, 25 November 2022

Image shows a screenshot of the rendered display of the infobox for the WikiIndex article.  It also includes 18 'balloon'-type areas containing descriptions of the various elements of the actual rendered infobox.
[{{{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 wiki sites: template: Wikia boilerplate.

Template: Wiki boilerplate is the generic boilerplate template used for creating a standardised infobox for articles about wiki SITES here on WikiIndex. It is suitable for all wiki site articles, and is applicable to act as a guide for most wiki engine schemas, including MediaWiki. For Fandom-specific wiki articles powered by Wikia (Fandom), use: template: Wikia boilerplate (currently only available in English). For wiki sites powered by all other wiki engines, please amend the requested field answers to their best fit. This boilerplate template has been manually translated from this specific boilerplate into a few other selected wiki languages as listed at the bottom of this page, based on standard MediaWiki terminology. Please make any changes or updates as required, and please create a new boilerplate (including the below red links) in a different language if desired. It should be noted, for ALL MediaWiki sites (apart from early software versions), all non-English wiki sites will automatically translate all SpecialPages standard English URLs into the actual language as used on said non-English wiki site. All infobox external URLs must start with http:// or https://, whereas external link URLs within the prose description may also use any existing interwiki link for external sites, along with conventional 'internal' wikilinks.

Please note: when adding and / or amending a date for the field containing the backup file, or the placements for page count and / or wikiFactor (wF), please use the YYYY-MM-DD schema, which is the universal and international ISO 8601 date extended format.

{{Wiki <!--see 'Template:Wiki' for full detail and hidden help advice-->
|name             = WikiName,<br><small>''tagline''</small><!--if wiki site name is different from article name; to include tagline; for native language name-->
|URL              = YourWikiHttp<!--include http:// or https:// e.g. https://YourWikiURL.org/wiki/Main_Page; if unknown, 'UnknownWikiURL'-->
|logo             = No<!--upload logo & wikilink, or direct URL hotlink; pre-fill defaults: 'No', 'Unknown', 'Upload', 'Private', 'Dead', 'Wikia'-->
|wide logo        = <!--insert 'y' when the logo is too wide AND / OR the title name is too long-->
|recentchanges URL= No<!--https://YourWikiURL.org/wiki/Special:RecentChanges?hidebots=0&limit=500&days=900, 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://YourWikiURL.org?useformat=mobile or https://YourWikiURL.org/index.php?title=Main_Page&mobileaction=toggle_view_mobile-->
|founder          = unknown<!--wiki founder(s) name(s); wikilink or hotlink if available; if unknown, use 'unknown'-->
|status           = YourWikiStatus<!--'Active' is appropriate for most sites; see Category:Wiki status for more info-->
|language         = YourWikiLanguage<!--e.g. English, Multilingual, Japanese etc; only ONE entry in this field-->
|editmode         = YourWikiEditMode<!--'OpenEdit' if IP users can edit WITHOUT logging in, 'LoginToEdit' if not; all options at Category:Wiki Edit Mode-->
|engine           = YourWikiEngine<!--software which wiki site runs on (or 'powered by'), e.g. MediaWiki; see Category:Wiki engine-->
|license          = YourWiki'sLicense<!--preferred; NO version numbers; see Category:Wiki license; if NO license, 'No license'-->
|maintopic        = YourWikiTopic<!--only ONE main, primary topic; other sub-topics added as tags within description prose below-->
|backupurl        = <!--database dump backup file URL; found at '/Special:Statistics' on Wikia & some other MediaWiki sites; archived URL may also be used-->
|backupdate       = 20YY-MM-DD<!--YYYY-MM-DD, ISO 8601 extended date of backup URL; if unknown, dynamic or NO date, DELETE this field-->
}}{{Stub}}<!--use stub template if lacking adequate description, or needing update; remove stub if up-to-date & detailed prose included-->
{{Size <!--see 'Template:Size' for extensive full detail-->
|pages= <!--plain numeric value for number of CONTENT pages (or Files on a commons wiki); NO thousands separators-->
|statistics URL= No<!--page count source, often a '/Special:Statistics' or 'PageSize' page; if unknown type 'No'-->
|wikiFactor= <!--(wF), preferred; see: Category:wikiFactor; if wF unknown leave void; archived wF value may be used-->
|wikiFactor URL= <!--wF source; often 'PopularPages', 'Mostvisitedpages', 'PageHits'; leave void if unknown; archived URL if available-->
}}(Page count as of: 20YY-MM-DD<br>wikiFactor as of: 2012-MM-DD)<!--YYYY-MM-DD; manually add/amend ISO 8601 date when stats are verified and/or updated-->

;''Description
<!-- remove this 'hidden text' comment (between <!-- and -->) after:
Full and factual description of wiki site here, including detail on wiki subject matter, founder and / or owner, history, community
of people on wiki, wiki software and host, independent awards or nominations, and any problems such as technical problems or user
complaints, 'tag' specific subject words to auto-include them into categories as follows: {{tag|notable subject}}.  (The tag template
is used to make a word in the text into wikilink AND auto-include into the category of that same name).  Although not required,
please try to support any commentary with inline references to valid external citations.

;''See also
List any additional articles here on WikiIndex that may be relevant or related to this specific wiki site (if any)

;''References
<References/><!--use for inline <ref>citation URL</ref> sources (if any)-->

;''External links
{{WikiApiary}}<!--only for MediaWiki powered wiki sites-->
*[https://WikiParentURL.org WikiParentURL.org] — official 'parent' website of wiki (if any)
*{{Wp|{{PAGENAME}}}} — on the [[English Wikipedia]]
OFFICIAL web forums, and social media sites which DIRECTLY support the actual wiki site may also be included.
Off-topic links are NOT allowed; they will be treated a spam, and will be removed.

{{Multi-language navigation template}} - for article templates used to link different language versions of the same wiki,
such as Uncyclopedia, Wikipedia, etc, or if a single subject has many differing wikis, such as Star Wars or Final Fantasy.

If a tagable category name does not appear in the description prose text, use and amend the '[[Category:FirstAdditional]]' etc
at the BOTTOM of the page edit box to manually add categories.  Please list all skin categories (default category first) after
additional subject categories (found at '/Special:Version').  Finally, add the year of founding, like so... -->
[[Category:FirstAdditional]]
[[Category:SecondAdditional]]
[[Category:Vector]]<!--skin categories, default skin first-->
[[Category:Monobook]]
[[Category:Timeless]]
[[Category:Founded in YYYY]]<!--Special:AncientPages, or https://YourWikiURL.org/w/index.php?title=Main_Page&dir=prev&action=history-->

Select and highlight the text above in the blue/grey 'boilerplate', select copy the highlighted text (Ctrl-c on M$ Windows, or -c Apple Mac keyboard), and then paste (Ctrl-v or -v) it at the top of the edit box of the relevant wiki site article, then amend the fields to the right of the = sign with the requested information on the specific wiki site. Don't forget to click on the 'Show preview' button (alt-p or shift-esc-p on your keyboard) to verify your edited detail is correct before saving (alt-s or shift-esc-s).


All wiki language boilerplate versions available for template: Wiki