Community Central
Register
Community Central
(→‎Limitations: wikilink example)
Tags: Help sourceedit
m (remove inappropriate NewPP limit report text)
Tags: Visual edit Help
(23 intermediate revisions by 11 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
[[File:Puzzle_globe-1.png|thumb|250px|Templates are one of the pieces that build a wikia.]]
+
[[File:Puzzle_globe-1.png|thumb|250px|Templates are one of the pieces that build a wiki.]]
'''Shared templates''' are [[Help:Templates|templates]] that can be used across Wikia. These templates originate on [[homepage:w:|Community Central]].
+
'''Shared templates''' are [[Help:Templates|templates]] that can be used across Fandom. These templates originate on [[homepage:w:|Community Central]].
   
==Step by step==
+
== Step by step ==
* First, identify which template you're going to use by visiting it on Community Central. You can browse for a specific template at [http://community.wikia.com/index.php?title=Special%3AAllPages&from=&to=&namespace=10 Special:AllPages]. You can also create a new one from scratch.
+
* First, identify which template you're going to use by visiting it on Community Central. You can browse for a specific template at [{{fullurl:w:Special:AllPages|namespace=10}} Special:AllPages]. You can also create a new one from scratch.
 
* Then, go to the page you wish to display the template on at another wiki, and open that page for editing.
 
* Then, go to the page you wish to display the template on at another wiki, and open that page for editing.
* On the page, enter '''<code><nowiki>{{wikia:templatename}}</nowiki></code>''' or '''<code><nowiki>{{w:templatename}}</nowiki></code>'''. You can also use a redirected template, e.g., '''<code><nowiki>{{w:lorem}}</nowiki></code>''' for '''<code><nowiki>{{w:lorem ipsum}}</nowiki></code>'''.
+
* On the page, enter '''<code><nowiki>{{w:templatename}}</nowiki></code>'''. You can also use a redirected template, e.g., '''<code><nowiki>{{w:lorem}}</nowiki></code>''' for '''<code><nowiki>{{w:lorem ipsum}}</nowiki></code>'''.
: For example, if you wanted to display [[homepage:w:Template:Adoption|Template:Adoption]] on another wikia, you would edit a page on that wikia and enter '''<code><nowiki>{{wikia:adoption}}</nowiki></code>''' or '''<code><nowiki>{{w:adoption}}</nowiki></code>'''
+
:For example, if you wanted to display [[homepage:w:Template:Adoption|Template:Adoption]] on another community, you would edit a page there and enter '''<code><nowiki>{{w:adoption}}</nowiki></code>'''
:It will display on that wikia like this:{{-}}
+
:It will display on that community like this:{{-}}
 
:{{w:adoption}}
 
:{{w:adoption}}
   
==Usage notes==
+
== Usage notes ==
  +
 
===General notes===
+
=== General notes ===
* '''Benefits''': One advantage of having shared templates on [[Help:Wikia Community Central]] is that they are watched by a large community, and can be quickly fixed in cases of vandalism.
+
* '''Benefits''': One advantage of having shared templates on [[Help:Fandom Community Central|Fandom Community Central]] is that they are watched by a large community, and can be quickly fixed in cases of vandalism.
* '''Non-template pages''': You can also include pages that are out of the template [[Help:Namespace|namespace]], but instead of using <code><nowiki>{{wikia:Template name}}</nowiki></code> you must use <code><nowiki>{{wikia::Full page name}}</nowiki></code> (or <code><nowiki>{{w::Full page name}}</nowiki></code> if the latter doesn't work). Note the use of a double colon between ''wikia'' (or ''w'') and the full page name (the name of the page with its namespace, for example ''{{FULLPAGENAME}}'')
+
* '''Non-template pages''': You can also include pages that are out of the template [[Help:Namespace|namespace]], but instead of using <code><nowiki>{{w:Template name}}</nowiki></code> you must use <code><nowiki>{{w::Full page name}}</nowiki></code>, or <code><nowiki>{{:w:Full page name}}</nowiki></code>. There are three (or two) colons in these cases; one arranges to look for a full page name instead of a template name, another terminates the [[Help:Interwiki link|interwiki prefix]] <code>w:</code>, and the third colon terminates the [[Help:Namespace|namespace]] in a full page name such as <samp>{{FULLPAGENAME}}</samp>.
* '''Editing''': Major changes that could have negative effects on other wikias should not be made to any shared templates. However, corrections and improvements that won't prevent the templates from functioning in the way they were originally used are welcome.
 
* '''Styling''': Since these templates will be used on communities with a wide variety of [[Help:Theme designer|stylesheets]] in place, be careful not to add unnecessary styling and formatting to the templates, since this might conflict with the style of the wikias they are used on.
+
* '''Editing''': Major changes that could have negative effects on other communities should not be made to any shared templates. However, corrections and improvements that won't prevent the templates from functioning in the way they were originally used are welcome.
  +
* '''Styling''': Since these templates will be used on communities with a wide variety of [[Help:Theme Designer|designs]], be careful not to add unnecessary styling and formatting to the templates, since this might conflict with the style of the communities they are used on.
* '''Translations''': [[homepage:w:Translations|Translations]] are welcome, either at the native name for the template, or as a subpage of the English name, using <nowiki>[[</nowiki>w:Template:Name/[[homepage:w:Supported languages|lang code]]]] format. For example, the Russian version of [[homepage:w:Template:Wikipedia|Template:Wikipedia]] could go at [[homepage:w:Template:Википедия|Template:Википедия]] or at [[homepage:w:Template:Wikipedia/ru|Template:Wikipedia/ru]].
+
* '''Translations''': Translations are welcome, either at the native name for the template, or as a subpage of the English name, using <nowiki>[[</nowiki>w:Template:Name/lang code]] format. For example, the Russian version of [[w:Template:Wikipedia|Template:Wikipedia]] could go at [[w:Template:Википедия|Template:Википедия]] or at [[w:Template:Wikipedia/ru|Template:Wikipedia/ru]].
   
===Limitations===
+
=== Limitations ===
 
* '''Parameters''': [[Help:Template parameters|Parameters]] cannot be used with shared templates.
 
* '''Parameters''': [[Help:Template parameters|Parameters]] cannot be used with shared templates.
* '''Update speed''': If a template is edited on the original Wikia, pages on other wikias using it should automatically update. However, this can sometimes take a short while to occur, and can be overridden by editing the destination page.
+
* '''Update speed''': If a template is edited on Community Central, pages on other communities using it should automatically update. However, this can sometimes take a short while to occur, and can be sped up by editing the destination page.
* '''Noinclude''': <code>&lt;noinclude&gt;</code> is not currently passed through. For example, [[homepage:w:Template:Other free|Template:Other free]] used as <code><nowiki>{{wikia:Other free}}</nowiki></code> on another wikia still shows the documentation section.
+
* '''Noinclude''': <code>&lt;noinclude&gt;</code> is not currently passed through. For example, [[w:Template:Other free|Template:Other free]] used as <code><nowiki>{{w:Other free}}</nowiki></code> on another community still shows the documentation section.
* '''Categories''': Community Central pages used as shared template do not affect the [[Help:Category|categories]] of the page where the shared template is used. For example, <code class="plainlinks">&#123;&#123;w::[[homepage:w:User:WikiaBot|User:WikiaBot]]&#125;&#125;</code> works as expected, but does not set [[homepage:w:Category:Wikia script accounts|Category:Wikia script accounts]].
+
* '''Categories''': Community Central pages used as shared template do not affect the [[Help:Category|categories]] of the page where the shared template is used. For example, <code class="plainlinks">&#123;&#123;w::[[w:User:FandomBot|User:FandomBot]]&#125;&#125;</code> works as expected, but does not set [[w:Category:Fandom script accounts|Category:Fandom script accounts]].
   
==See also==
+
== See also ==
 
* [[Help:Shared Help]]
 
* [[Help:Shared Help]]
 
* [[Help:Templates]]
 
* [[Help:Templates]]
   
==Further help and feedback==
+
== Further help and feedback ==
 
{{Help and feedback section}}
 
{{Help and feedback section}}
  +
[[de:Hilfe:Geteilte Vorlagen]]
 
[[Category:Help|Shared templates]]
 
 
 
 
[[es:Ayuda:Plantillas compartidas]]
 
[[es:Ayuda:Plantillas compartidas]]
  +
[[fi:Ohje:Jaetut mallineet]]
 
[[ja:ヘルプ:共有テンプレート]]
 
[[ja:ヘルプ:共有テンプレート]]
 
[[pt:Ajuda:Predefinições compartilhadas]]
 
[[pt:Ajuda:Predefinições compartilhadas]]
 
[[ru:Справка:Общие шаблоны]]
 
[[ru:Справка:Общие шаблоны]]
  +
[[tr:Yardım:Paylaşılan şablonlar]]
  +
[[uk:Довідка:Загальні шаблони]]
 
[[zh:Help:共用模板]]
 
[[zh:Help:共用模板]]
 
[[Category:Help]]

Revision as of 13:10, 8 February 2020

Puzzle globe-1

Templates are one of the pieces that build a wiki.

Shared templates are templates that can be used across Fandom. These templates originate on Community Central.

Step by step

  • First, identify which template you're going to use by visiting it on Community Central. You can browse for a specific template at Special:AllPages. You can also create a new one from scratch.
  • Then, go to the page you wish to display the template on at another wiki, and open that page for editing.
  • On the page, enter {{w:templatename}}. You can also use a redirected template, e.g., {{w:lorem}} for {{w:lorem ipsum}}.
For example, if you wanted to display Template:Adoption on another community, you would edit a page there and enter {{w:adoption}}
It will display on that community like this:
This Fandom wiki is currently inactive. You can adopt this wiki and revive it.


Usage notes

 

General notes

  • Benefits: One advantage of having shared templates on Fandom Community Central is that they are watched by a large community, and can be quickly fixed in cases of vandalism.
  • Non-template pages: You can also include pages that are out of the template namespace, but instead of using {{w:Template name}} you must use {{w::Full page name}}, or {{:w:Full page name}}. There are three (or two) colons in these cases; one arranges to look for a full page name instead of a template name, another terminates the interwiki prefix w:, and the third colon terminates the namespace in a full page name such as Help:Shared templates.
  • Editing: Major changes that could have negative effects on other communities should not be made to any shared templates. However, corrections and improvements that won't prevent the templates from functioning in the way they were originally used are welcome.
  • Styling: Since these templates will be used on communities with a wide variety of designs, be careful not to add unnecessary styling and formatting to the templates, since this might conflict with the style of the communities they are used on.
  • Translations: Translations are welcome, either at the native name for the template, or as a subpage of the English name, using [[w:Template:Name/lang code]] format. For example, the Russian version of Template:Wikipedia could go at Template:Википедия or at Template:Wikipedia/ru.

Limitations

  • Parameters: Parameters cannot be used with shared templates.
  • Update speed: If a template is edited on Community Central, pages on other communities using it should automatically update. However, this can sometimes take a short while to occur, and can be sped up by editing the destination page.
  • Noinclude: <noinclude> is not currently passed through. For example, Template:Other free used as {{w:Other free}} on another community still shows the documentation section.
  • Categories: Community Central pages used as shared template do not affect the categories of the page where the shared template is used. For example, {{w::User:FandomBot}} works as expected, but does not set Category:Fandom script accounts.

See also

Further help and feedback