Template:Multilingual main boilerplate: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
(added Category:FoundedIn20xx, so age of portal can be recorded)
(Add tagline, portal cat, https, tweaks)
Line 3: Line 3:
<pre style="overflow-x:scroll; overflow-y:hidden">
<pre style="overflow-x:scroll; overflow-y:hidden">
{{MultilingualMain
{{MultilingualMain
|name        = YourWikiName<!--use if wiki name is different from article name; otherwise, DELETE this field-->
|name        = YourWikiName –<br>''tagline''<!--use if wiki name is different from article name; otherwise, DELETE this field-->
|URL        = YourWikiHttp <!--start with http:// - eg: http://www.YourWikiURL.org-->
|URL        = YourWikiHttp <!--start with http:// or https:// - eg: https://www.YourWikiURL.org-->
|logo        = [[File:NoLogo.png|alt=]] <!--you may upload and wikilink, or hotlink to a URL-->
|logo        = [[File:NoLogo.png|alt=]] <!--you may upload and wikilink, or hotlink to a URL-->
|wikinode URL= No <!--http://YourWikiURL.org/wiki/WikiNode - If none, use 'No'-->
|wikinode URL= No <!--https://YourWikiURL.org/wiki/WikiNode - if none, use 'No'-->
|about URL  = No <!--http://YourWikiURL.org/wiki/PORTALNAMESPACE:About - If none, use 'No'-->
|about URL  = No <!--https://YourWikiURL.org/wiki/PORTALNAMESPACE:About - if none, use 'No'-->
|engine      = YourWikiEngine <!--the software which the wiki runs on, eg: MediaWiki, see Category:Wiki Engine-->
|engine      = YourWikiEngine <!--software which the wikis run on, eg: MediaWiki, see Category:Wiki Engine-->
|maintopic  = YourWikiTopic <!--main primary topic. Other sub-topics are added as tags within the prose below-->
|maintopic  = YourWikiTopic <!--main primary topic; other sub-topics are added as tags within prose below-->
|license    = YourWiki'sLicense <!--optional, see Category:Wiki License, if NO license, 'NoLicense'-->
|license    = YourWiki'sLicense <!--optional, see Category:Wiki License, if NO license, 'NoLicense'-->
}}<!--{{Language versions|}}-->
}}<!--{{Language versions|}}-->


[[Category:FoundedIn20xx]]<!--http://YourWikiURL.org/index.php?title=Special:AncientPages--></pre>
[[Category:Portal]]<!--if URL is a portal; see www.Wikipedia.org for example-->
[[Category:FoundedIn20xx]]<!--https://YourWikiURL.org/index.php?title=Special:AncientPages--></pre>
Copy the text above in the blue '[[:Category:Boilerplates|boilerplate]]' and paste it at the <u>top</u> of the edit box in the relevant [[Special:Categories|category]] or article, then amend the fields to the right of the <code>=</code> sign. Don't forget to click on the 'Show preview' button (or <tt>alt-p</tt> on your keyboard) to verify your edited detail is correct before saving.
Copy the text above in the blue '[[:Category:Boilerplates|boilerplate]]' and paste it at the <u>top</u> of the edit box in the relevant [[Special:Categories|category]] or article, then amend the fields to the right of the <code>=</code> sign. Don't forget to click on the 'Show preview' button (or <tt>alt-p</tt> on your keyboard) to verify your edited detail is correct before saving.



Revision as of 14:42, 18 November 2017

This is the boilerplate for template:MultilingualMain. Use this template for generating an infobox in the 'mother' article or category for an identical series of wikis which are released in differing wiki languages – such as Wikipedia, Wikitravel, Metapedia, etc – ie: a portal for multilingual versions.

{{MultilingualMain
|name        = YourWikiName –<br>''tagline''<!--use if wiki name is different from article name; otherwise, DELETE this field-->
|URL         = YourWikiHttp <!--start with http:// or https:// - eg: https://www.YourWikiURL.org-->
|logo        = [[File:NoLogo.png|alt=]] <!--you may upload and wikilink, or hotlink to a URL-->
|wikinode URL= No <!--https://YourWikiURL.org/wiki/WikiNode - if none, use 'No'-->
|about URL   = No <!--https://YourWikiURL.org/wiki/PORTALNAMESPACE:About - if none, use 'No'-->
|engine      = YourWikiEngine <!--software which the wikis run on, eg: MediaWiki, see Category:Wiki Engine-->
|maintopic   = YourWikiTopic <!--main primary topic; other sub-topics are added as tags within prose below-->
|license     = YourWiki'sLicense <!--optional, see Category:Wiki License, if NO license, 'NoLicense'-->
}}<!--{{Language versions|}}-->

[[Category:Portal]]<!--if URL is a portal; see www.Wikipedia.org for example-->
[[Category:FoundedIn20xx]]<!--https://YourWikiURL.org/index.php?title=Special:AncientPages-->

Copy the text above in the blue 'boilerplate' and paste it at the top of the edit box in the relevant category or article, then amend the fields to the right of the = sign. Don't forget to click on the 'Show preview' button (or alt-p on your keyboard) to verify your edited detail is correct before saving.

See also: template:Language versions, which is used to generate a textual navigation banner with wikilinks to all sub-language versions; and template:Wiki which is used to generate the standard wiki article infobox.