Module:WikiProject banner/doc: Difference between revisions - Wikipedia


Article Images

Content deleted Content added

m

m

Line 14:

!Common parameters

|-

|<sourcesyntaxhighlight lang="xml" style="font-size:90%; width=40%">

{{WPBannerMeta

|PROJECT =

Line 41:

<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->

</noinclude>

</syntaxhighlight>

</source>

|}

|-

Line 49:

!Full parameters

|-

|<sourcesyntaxhighlight lang="xml" style="font-size:90%; width=40%">

{{WPBannerMeta

|PROJECT =

Line 202:

<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->

</noinclude>

</syntaxhighlight>

</source>

|}

|}

Line 217:

**<code>'''PROJECT_LINK'''</code> &ndash; it is assumed that the project is located at '''<code>"Wikipedia:WikiProject &lt;PROJECT>"</code>'''. If this is not the case, then define the full link to the project page in this parameter. {{nowrap|''Eg: '''<code>Wikipedia:WikiProject Tulips</code>'''''}}

**<code>'''PROJECT_NAME'''</code> &ndash; if your project is not called '''<code>"WikiProject &lt;PROJECT>"</code>''' then define the exact name of the project with this parameter.

*<code>'''substcheck'''</code> &ndash; this allows the template to detect if it has been substituted instead of transcluded and give an error message. '''''<sourcesyntaxhighlight lang="xml" inline>substcheck=<includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly></sourcesyntaxhighlight>'''''

*<code>'''small'''</code> ''(Required)'' &ndash; the size parameter ''must'' be passed through the template to enable the correct display. {{nowrap|''Eg: '''<code><nowiki>small={{{small|}}}</nowiki></code>'''''}}

*<code>'''category'''</code> ''(Required)'' &ndash; the 'category' parameter ''must'' be passed through the template to enable category optout. ''E.g.: '''<code><nowiki>category={{{category|¬}}}</nowiki></code>'''''.

Line 236:

'''Example:'''

{|style="background:none" width="50%"

|<sourcesyntaxhighlight lang="xml" style="font-size:85%">

{{WPBannerMeta

|PROJECT = Tulips

Line 249:

|IMAGE_LEFT_LARGE = 50px

|MAIN_ARTICLE = [[tulip]]s, [[liliaceae]] and related articles

}}</sourcesyntaxhighlight>

|}

:Produces:

Line 287:

'''Example:'''

{|style="background:none" width="50%"

|<sourcesyntaxhighlight lang="xml" style="font-size:85%">

{{WPBannerMeta

|PROJECT = Tulips

Line 301:

|importance={{{importance|}}}

|ASSESSMENT_LINK = Wikipedia:WikiProject Tulips/Article grading

}}</sourcesyntaxhighlight>

|}

:Produces:

Line 338:

'''Example:'''

{|style="background:none" width="50%"

|<sourcesyntaxhighlight lang="xml" style="font-size:85%">

{{WPBannerMeta

|PROJECT = Tulips

Line 363:

|NOTE_2_IMAGE = Nuvola apps arts.svg

|NOTE_2_CAT = Tulips articles with audio files

}}</sourcesyntaxhighlight>

|}

:Produces:

Line 405:

'''Example:'''

{|style="background:none" width="50%"

|<sourcesyntaxhighlight lang="xml" style="font-size:85%">

{{WPBannerMeta

|PROJECT = Tulips

Line 425:

|TF_1_ASSESSMENT_CAT = Floridiae articles

|TF_1_MAIN_CAT = Floridiae articles

}}</sourcesyntaxhighlight>

|}

:Produces: