Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:No more GFDL/doc: Difference between revisions

Template page
Created page with '{{TemplateBox |1 =<!-- Name of the first parameter the template takes --> |1label =<!-- A (very) brief name for the parameter. --> |1d-en...'
 
really create documentation
 
Line 1: Line 1:
{{TemplateBox
{{TemplateBox
   |1        =<!-- Name of the first parameter the template takes -->
   |name              = No more GFDL
   |1label  =<!-- A (very) brief name for the parameter. -->
   |desc-en           = This warning should be placed in the documentations of GFDL-only license templates and multi-license templates where GFDL is the only license that used to be considered free, as this is no longer the case.
  |1d-en   =<!-- English description of the first parameter the template takes -->
   |namespace          = template
  |1d-td    =<!-- description of the first parameter the template takes without any wiki marking-->
   |usergroup          = all
  |1aliases =<!-- List of aliases, separated by / (a slash) -->
   |placement          = top
  |1type    =<!-- number, string, string/wiki-user-name, string/wiki-page-name, string/line; unknown -->
  |1def    =<!-- default value for the parameter -->
  |1stat    =<!-- required, optional or optional-; optional- means it is optional and omitted in the usage-sample -->
 
  |name              =
  |desc              =
   |namespace          =
   |usergroup          =
   |placement          =
   |example-value      =
   |example-value      =
   |mustbesubst        =
   |mustbesubst        =
Line 23: Line 14:
   |type              =
   |type              =
   |i18n-desc          =
   |i18n-desc          =
  |i18n-subpage      =
   |i18n-method        = ext.translate
  |i18n-mediawiki-msg =
   |i18n-method        =
   |example            =
   |example            =
   |print              =
   |print              =
}}
  |useTemplateData    = only
[[Category:Message templates]]
}}<includeonly>
[[Category:Message templates]]</includeonly>

Latest revision as of 18:51, 27 December 2019

This warning should be placed in the documentations of GFDL-only license templates and multi-license templates where GFDL is the only license that used to be considered free, as this is no longer the case.

Usage

{{No more GFDL}}

Template parameters

<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.


Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. ‎<nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw ‎<templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.


Wikipedia's help about TemplateDataCommons-specific information

This warning should be placed in the documentations of GFDL-only license templates and multi-license templates where GFDL is the only license that used to be considered free, as this is no longer the case.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
No parameters specified

Additional information

The template is intended to be used in the following namespaces: the Template namespace

The template is intended to be used by the following user groups: all users

Placement: At the top of the page

Localization

English  Bahasa Indonesia  русский

This template makes use of {{Autotranslate}} and the translate extension.


Cookies help us deliver our services. By using our services, you agree to our use of cookies.