Template:Wiki: Difference between revisions
Zhuyifei1999 (talk | contribs) (Add self fixing for name with no value) |
Zhuyifei1999 (talk | contribs) (Undo to revision 169477 -- needs some refreshing) |
||
Line 1: | Line 1: | ||
<noinclude>[[File:StructuredDataGraph.png|frameless|left|585px]]</noinclude><includeonly> | <noinclude>[[File:StructuredDataGraph.png|frameless|left|585px]]</noinclude><includeonly>[[Category:All]]<!-- | ||
Starting categorizing logic | Starting categorizing logic | ||
-->{{#if: {{{ | -->{{#if:{{{status|{{{status|{{{status|}}}}}}}}}|[[Category:{{{status|{{{status|{{{status}}}}}}}}}]]}}<!-- | ||
-->{{#if: {{{wikiFactor|{{{wiki factor|}}}}}}|[[Category:{{WikiFactorCatText|{{{wikiFactor|{{{wiki factor}}}}}}}}]] [[wikiFactor::{{{wikiFactor|{{{wikiFactor|0}}}}}}| ]]}}<!-- | |||
-->{{#if:{{{language|{{{language|{{{language|}}}}}}}}}|[[Category:Wiki {{{language|{{{language|{{{language}}}}}}}}}]]}}<!-- | |||
-->{{#if:{{{editmode|{{{editmode|{{{editmode|}}}}}}}}}|[[Category:{{{editmode|{{{editmode|{{{editmode}}}}}}}}}]]}}<!-- | |||
-->{{#if:{{{alt engine|{{{engine|{{{engine|{{{engine|}}}}}}}}}}}}|[[Category:{{{alt engine|{{{engine|{{{engine|{{{engine}}}}}}}}}}}}]]}}<!-- | |||
-->{{#if: {{{wiki factor|}}}|[[Category:{{WikiFactorCatText|{{{wiki factor}}}}}]] [[wikiFactor::{{{wikiFactor|0}}}]]}}<!-- | -->{{#if:{{{maintopic|{{{maintopic|{{{maintopic|}}}}}}}}}|[[Category:{{{maintopic|{{{maintopic|{{{maintopic}}}}}}}}}]]}}<!-- | ||
-->{{#if:{{{language|}}}|[[Category:Wiki {{ | -->{{#if: {{{license|{{{license|{{{license|}}}}}}}}}|[[Category:Wiki {{{license|{{{license|{{{license}}}}}}}}}]]}}<!-- | ||
-->{{#if:{{{editmode|}}}|[[Category:{{{editmode}}} | -->{{#if: {{{backupurl|{{{backupurl|{{{backupurl|}}}}}}}}}|[[Category:Wiki Backups]]}}<!-- | ||
-->{{#if:{{{engine|}}}|[[Category:{{alt engine|{{{engine}}}}} | |||
-->{{#if:{{{maintopic|}}}|[[Category:{{{maintopic}}} | |||
-->{{#if: {{{license|}}}|[[Category:Wiki {{{license}}} | |||
-->{{#if: {{{backupurl|}}}|[[Category:Wiki Backups]]}}<!-- | |||
Ending categorizing logic | Ending categorizing logic | ||
--></includeonly><!-- | --></includeonly><!-- | ||
Line 20: | Line 16: | ||
{|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:95%; text-align:left; line-height:1.5em; border:2px inset #A0A7B4" | ||
|- | |- | ||
{{#if:{{{wide logo|}}}| | {{#if:{{{wide logo|{{{wide logo|}}}}}}| | ||
<!--THEN--> | <!--THEN--> | ||
!colspan="2" style="text-align:center" {{!}} <span class=plainlinks>[{{{URL}}} {{#ifeq:{{{logo|}}}| |[[File:NoLogo.png|alt=Wiki doesn't have a logo]][[Category:UnknownWikiLogo]]|{{{logo}}}]</span> | !colspan="2" style="text-align:center" {{!}} <span class=plainlinks>[{{{URL|{{{URL|{{{URL}}}}}}}}} {{#ifeq:{{{logo|{{{logo|{{{logo|}}}}}}}}}| |[[File:NoLogo.png|alt=Wiki doesn't have a logo]][[Category:UnknownWikiLogo]]|{{{logo|{{{logo|{{{logo}}}}}}}}}]</span> | ||
}} | }} | ||
{{!}}- | {{!}}- | ||
{{!}} colspan="2" style="text-align:center" {{!}} '''<span style="white-space:nowrap; font-size:16px">{{#ifeq:{{{URL}}}|YourWikiHttp|'''No URL entered'''[[Category:CheckURL]]|[{{{URL}}} {{ | {{!}} colspan="2" style="text-align:center" {{!}} '''<span style="white-space:nowrap; font-size:16px">{{#ifeq:{{{URL|{{{URL|{{{URL}}}}}}}}}|YourWikiHttp|'''No URL entered'''[[Category:CheckURL]]|[{{{URL|{{{URL|{{{URL}}}}}}}}} {{{name|{{{name|{{{name|{{PAGENAME}}}}}}}}}}}]}}</span>'''<br><span style=white-space:nowrap>[{{{recentchanges URL|{{{recentchanges URL|{{{recentchanges URL|{{{recentchanges URL}}}}}}}}}}}} RecentChanges]</span> • <span style=white-space:nowrap>[{{{wikinode URL|{{{wikinode URL|{{{wikinode URL|{{{wikinode URL}}}}}}}}}}}} WikiNode] </span>• <span style=white-space:nowrap>[{{{about URL|{{{about URL|{{{about URL|{{{about URL}}}}}}}}}}}} About]</span> | ||
|<!--ELSE--> | |<!--ELSE--> | ||
!style="text-align:center" {{!}} <span class=plainlinks>[{{{URL}}} {{#switch:{{{logo}}} | !style="text-align:center" {{!}} <span class=plainlinks>[{{{URL|{{{URL|{{{URL}}}}}}}}} {{#switch:{{{logo|{{{logo|{{{logo}}}}}}}}} | ||
| No | | No | ||
| http://wikiindex.org/images/e/e6/NoLogo.png | | http://wikiindex.org/images/e/e6/NoLogo.png | ||
Line 33: | Line 29: | ||
| No = [[Category:UnknownWikiLogo]] [[File:NoLogo.png|alt=Wiki doesn't have a logo]] | | No = [[Category:UnknownWikiLogo]] [[File:NoLogo.png|alt=Wiki doesn't have a logo]] | ||
| No | | No | ||
| | | http://wikiindex.org/images/a/a7/NoLogoYet.png | ||
| NoYet | | NoYet | ||
| NoLogoYet = [[File: | | NoLogoYet = [[File:NoLogoYet.png|alt=Wiki doesn't have a logo yet]] | ||
| http://wikiindex.org/images/2/25/Inactive.png | | http://wikiindex.org/images/2/25/Inactive.png | ||
| Inactive = [[File:Inactive.png|100px|alt=Wiki is inactive]] | | Inactive = [[File:Inactive.png|100px|alt=Wiki is inactive]] | ||
| http://wikiindex.org/images/2/2f/Private.png | | http://wikiindex.org/images/2/2f/Private.png | ||
| Private = [[File:Private.png|100px|alt=Wiki is private]] | | Private = [[File:Private.png|100px|alt=Wiki is private]] | ||
|#default = {{{logo}}} | |#default = {{{logo|{{{logo|{{{logo}}}}}}}}} | ||
}}]</span> | }}]</span> | ||
{{!}} '''<span style="white-space:nowrap; font-size:16px">{{#ifeq:{{{URL}}}|YourWikiHttp|'''No URL entered'''[[Category:CheckURL]]|[{{{URL}}} {{ | {{!}} '''<span style="white-space:nowrap; font-size:16px">{{#ifeq:{{{URL|{{{URL|{{{URL}}}}}}}}}|YourWikiHttp|'''No URL entered'''[[Category:CheckURL]]|[{{{URL|{{{URL|{{{URL}}}}}}}}} {{{name|{{{name|{{{name|{{PAGENAME}}}}}}}}}}}]}}</span>'''<br><span style=white-space:nowrap>[{{{recentchanges URL|{{{recentchanges URL|{{{recentchanges URL|{{{recentchanges URL}}}}}}}}}}}} RecentChanges]</span><br><span style=white-space:nowrap>[{{{wikinode URL|{{{wikinode URL|{{{wikinode URL|{{{wikinode URL}}}}}}}}}}}} WikiNode]</span><br><span style=white-space:nowrap>[{{{about URL|{{{about URL|{{{about URL|{{{about URL}}}}}}}}}}}} About]</span> | ||
}}<!--ENDIF--> | }}<!--ENDIF--> | ||
|- | |- | ||
!scope="row" style="text-align:right"| [[:Category:Wiki Status|Status]]: | !scope="row" style="text-align:right"| [[:Category:Wiki Status|Status]]: | ||
| [[:Category:{{{status}}}|{{{status}}}]] | | [[:Category:{{{status|{{{status|{{{status}}}}}}}}}|{{{status|{{{status|{{{status}}}}}}}}}]] | ||
|- | |- | ||
!scope="row" style="text-align:right"| [[:Category:Wiki Language|Language]]: | !scope="row" style="text-align:right"| [[:Category:Wiki Language|Language]]: | ||
| [[:Category:Wiki {{{language}}}|{{{language}}}]] | | [[:Category:Wiki {{{language|{{{language|{{{language}}}}}}}}}|{{{language|{{{language|{{{language}}}}}}}}}]] | ||
|- | |- | ||
!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}}}]] | | [[:Category:{{{editmode|{{{editmode|{{{editmode}}}}}}}}}|{{{editmode|{{{editmode|{{{editmode}}}}}}}}}]] | ||
|- | |- | ||
!scope="row" style="text-align:right"| [[:Category:Wiki Engine|Wiki engine]]: | !scope="row" style="text-align:right"| [[:Category:Wiki Engine|Wiki engine]]: | ||
| [[:Category:{{alt engine|{{{engine}}}}}|{{alt engine|{{{engine}}}}}]][[engine::{{{engine|}}}| ]]<!-- Semantic property --> | | [[:Category:{{alt engine|{{{engine|{{{engine|{{{engine}}}}}}}}}}}|{{alt engine|{{{engine|{{{engine|{{{engine}}}}}}}}}}}]][[engine::{{{engine|{{{engine|{{{engine|}}}}}}}}}| ]]<!-- Semantic property --> | ||
{{#if: {{{license|}}}| | {{#if: {{{license|{{{license|{{{license|}}}}}}}}}| | ||
{{!}}- | {{!}}- | ||
!scope="row" style="text-align:right" {{!}} [[:Category:Wiki License{{!}}Wiki license]]: | !scope="row" style="text-align:right" {{!}} [[:Category:Wiki License{{!}}Wiki license]]: | ||
{{!}} [[:Category:Wiki {{{license}}}{{!}}{{{license}}}]][[license::{{{license|}}}| ]]<!-- Semantic property --> | {{!}} [[:Category:Wiki {{{license|{{{license|{{{license}}}}}}}}}{{!}}{{{license|{{{license|{{{license}}}}}}}}}]][[license::{{{license|{{{license|{{{license|}}}}}}}}}| ]]<!-- Semantic property --> | ||
}} | }} | ||
|- | |- | ||
!scope="row" style="text-align:right"| [[:Category:Wiki Topic|Main topic]]: | !scope="row" style="text-align:right"| [[:Category:Wiki Topic|Main topic]]: | ||
| [[:Category:{{{maintopic}}}|{{{maintopic}}}]] | | [[:Category:{{{maintopic|{{{maintopic|{{{maintopic}}}}}}}}}|{{{maintopic|{{{maintopic|{{{maintopic}}}}}}}}}]] | ||
{{#if: {{{backupurl|}}}| | {{#if: {{{backupurl|{{{backupurl|{{{backupurl|}}}}}}}}}| | ||
{{!}}- | {{!}}- | ||
!scope="row" style="text-align:right" {{!}} [[:Category:Wiki Backups{{!}}Backups]]: | !scope="row" style="text-align:right" {{!}} [[:Category:Wiki Backups{{!}}Backups]]: | ||
{{!}} [{{{backupurl|}}} {{{backupdate|unknown date}}}] | {{!}} [{{{backupurl|{{{backupurl|{{{backupurl|}}}}}}}}} {{{backupdate|{{{backupdate|{{{backupdate|unknown date}}}}}}}}}] | ||
[[backupurl::{{{backupurl|}}}| ]][[backupdate::{{{backupdate|}}}| ]]:<!-- Semantic property --> | [[backupurl::{{{backupurl|{{{backupurl|{{{backupurl|}}}}}}}}}| ]][[backupdate::{{{backupdate|{{{backupdate|{{{backupdate|}}}}}}}}}| ]]:<!-- Semantic property --> | ||
}} | }} | ||
|}</div><!-- | |}</div><!-- |
Revision as of 10:37, 28 July 2013
[{{{URL}}} {{{logo}}}] | [{{{URL}}} Wiki] [{{{recentchanges URL}}} RecentChanges] [{{{wikinode URL}}} WikiNode] [{{{about URL}}} About] |
---|---|
Status: | [[:Category:{{{status}}}|{{{status}}}]] |
Language: | [[:Category:Wiki {{{language}}}|{{{language}}}]] |
Edit mode: | [[:Category:{{{editmode}}}|{{{editmode}}}]] |
Wiki engine: | [[:Category:Template:Alt engine|Template:Alt engine]] |
Main topic: | [[:Category:{{{maintopic}}}|{{{maintopic}}}]] |
See also: template:Wiki boilerplate, template:Size, and specifically for Wikia wikis: 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.
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
- Template: Wiki boilerplate — in the English language
- Template: Wiki boilerplate De — in the German language
- Template: Wiki boilerplate Es — in the Spanish language
- Template: Wiki boilerplate Fr — in the French language
- Template: Wiki boilerplate It — in the Italian language
- Template: Wiki boilerplate Ja — in the Japanese language
- Template: Wiki boilerplate Nl — in the Dutch language
- Template: Wiki boilerplate Pl — in the Polish language
- Template: Wiki boilerplate Ru — in the Russian language
- Template: Wiki boilerplate Sv — in the Swedish language
- Template: Wiki boilerplate Zh — in the Chinese language