Template:CC-Layout: Difference between revisions

From MEpedia, a crowd-sourced encyclopedia of ME and CFS science and history
(Created based on MediaWiki's CC-layout template)
 
m (add x default language of int:lang, which should fall back to English if invalid)
Line 1: Line 1:
<noinclude>{|</noinclude> style="width:100%; clear:both; text-align:center; margin:0.5em auto; background-color:#f9f9f9; border:2px solid #e0e0e0; padding: 0; border-spacing: 8px;" class="layouttemplate licensetpl mw-content-{{dir|{{{lang|}}}}}" lang="{{{lang|}}}" {{License template tag}}<noinclude>
<noinclude>{|</noinclude> style="width:100%; clear:both; text-align:center; margin:0.5em auto; background-color:#f9f9f9; border:2px solid #e0e0e0; padding: 0; border-spacing: 8px;" class="layouttemplate licensetpl mw-content-{{dir|{{{lang|{{int:lang}}}}}}}" lang="{{{lang|{{int:lang}}}}}" {{License template tag}}<noinclude>
| example
| example
|}
|}

Revision as of 17:43, August 14, 2019

example

This template is used on a lot of pages.
In order not to put too much load on the servers, edits should be kept to a bare minimum. Please discuss proposed changes first.

  • Editing a template causes all pages that use the template to be re-rendered. If the template is used often, this can put a lot of load on the servers since it fills up the job queue.
  • Keep in mind that templates that are used on file description pages also show up on other wikis.
template icon Template documentation[view] [edit] [history] [purge]

Localization / Translation

See:

Other style formatting license templates

Template Purpose
{{PD-Layout}}

{{PD-Layout}}

used for Public Domain licenses
{{GNU-Layout}}

{{GNU-Layout}}

used for GNU licenses
{{CC-Layout}}

{{CC-Layout}}

used for Creative Commons licenses
{{Copyrighted-Layout}}

{{Copyrighted-Layout}}

used by {{Copyrighted free use}}

{{Copyrighted free use}} license and related templates

{{Other License-Layout}}

{{Other License-Layout}}

used for license templates which are not based on CC, GNU, PD or Copyrighted licenses