Difference between revisions of "Template:Article templates/lcreate/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>ManosHacker
(Created page with '{{Documentation subpage}} <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> == Usage ==...')
 
blackwiki>Andrybak
(→‎top: add description)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 +
 +
Provides a '''l'''ink to '''create''' an article using [[Wikipedia:VisualEditor|VisualEditor]] as a subpage of user's sandbox.
 +
 
== Usage ==
 
== Usage ==
 
  <nowiki>{{Article templates/lcreate|{{{1}}}|{{{2}}}|{{{3}}}}}</nowiki>
 
  <nowiki>{{Article templates/lcreate|{{{1}}}|{{{2}}}|{{{3}}}}}</nowiki>

Revision as of 09:41, 5 May 2020

Provides a link to create an article using VisualEditor as a subpage of user's sandbox.

Usage

{{Article templates/lcreate|{{{1}}}|{{{2}}}|{{{3}}}}}
  1. parameter 1 is the article name to be created
  2. parameter 2 is the article library to be used as a template
  3. parameter 3 is optional and sets the creation space/path of the new page
    • if not defined, the page is created in user's sandbox space
    • if equals to _ (underscore) the page is created in main space as a new article
    • any other string can be used to direct to different space/path

Examples

{{Article templates/lcreate|Cave Lion (Greece)|Cave}}

Cave Lion (Greece)


{{Article templates/lcreate|Cave Lion (Greece)|Cave|_}}

Cave Lion (Greece)

{{Article templates/lcreate|Cave Lion (Greece)|Cave|Draft:}}

Cave Lion (Greece)