Template:W-graphical: Difference between revisions
Fix Linter errors. |
Adapt local policies, template notices and guidance for independent Elite Dangerous Wiki; preserve index layout |
||
| Line 5: | Line 5: | ||
}}{{{{{|safesubst:}}}if||{{{heading|}}}|{{{{{|safesubst:}}}=}}{{{{{|safesubst:}}}=}}{{{heading}}}{{{{{|safesubst:}}}=}}{{{{{|safesubst:}}}=}} |
}}{{{{{|safesubst:}}}if||{{{heading|}}}|{{{{{|safesubst:}}}=}}{{{{{|safesubst:}}}=}}{{{heading}}}{{{{{|safesubst:}}}=}}{{{{{|safesubst:}}}=}} |
||
}}<div style="margin:1px;width:100%;background-color:#{{{{{|safesubst:}}}#switch:{{{color}}}|pink=FFF5F5|F5FFFA}};border:1px solid #{{{{{|safesubst:}}}#switch:{{{color}}}|pink=800808|084080}};display:flex;flex-flow:row wrap;text-align:left;"> |
}}<div style="margin:1px;width:100%;background-color:#{{{{{|safesubst:}}}#switch:{{{color}}}|pink=FFF5F5|F5FFFA}};border:1px solid #{{{{{|safesubst:}}}#switch:{{{color}}}|pink=800808|084080}};display:flex;flex-flow:row wrap;text-align:left;"> |
||
<div style="background-color:{{{{{|safesubst:}}}#switch:{{{color}}}|cyan=#CEF2E0|pink=#F2CECE|#CECEF2}}; font-family: sans-serif; border:1px solid {{{{{|safesubst:}}}#switch:{{{color}}}|pink=#800808|#084080}};color:black;padding:0.2em 0.4em;width:100%;margin:5px"><p>Hello, <noinclude>Example</noinclude><includeonly>{{safesubst:<noinclude />BASEPAGENAME}}</includeonly>, and '''[[Help:Getting started|Welcome to |
<div style="background-color:{{{{{|safesubst:}}}#switch:{{{color}}}|cyan=#CEF2E0|pink=#F2CECE|#CECEF2}}; font-family: sans-serif; border:1px solid {{{{{|safesubst:}}}#switch:{{{color}}}|pink=#800808|#084080}};color:black;padding:0.2em 0.4em;width:100%;margin:5px"><p>Hello, <noinclude>Example</noinclude><includeonly>{{safesubst:<noinclude />BASEPAGENAME}}</includeonly>, and '''[[Help:Getting started|Welcome to Elite Dangerous Wiki!]]'''</p> |
||
<p>Thank you for [[Special:Contributions/{{SAFESUBST:<noinclude />BASEPAGENAME}}|your contributions]] to{{{{{|safesubst:}}}#if:{{{article|{{{art|}}}}}}| [[{{{article|{{{art}}}}}}]] and}} this free encyclopedia. {{{{{|safesubst:}}}#if:{{{2|}}}|{{{2}}}</p><p>In any case, I hope you enjoy editing here and being a [[ |
<p>Thank you for [[Special:Contributions/{{SAFESUBST:<noinclude />BASEPAGENAME}}|your contributions]] to{{{{{|safesubst:}}}#if:{{{article|{{{art|}}}}}}| [[{{{article|{{{art}}}}}}]] and}} this free encyclopedia. {{{{{|safesubst:}}}#if:{{{2|}}}|{{{2}}}</p><p>In any case, I hope you enjoy editing here and being a [[Project:Editorial guidance|Wikipedian]]!}} If you decide that you need help, check out ''Getting Help'' below, ask at the [[Project:Template guide|help desk]], or place '''{{Tlc|Help me}}''' on your talk page and ask your question there. Please remember to [[Elite Dangerous Wiki:Signatures|sign your name on talk pages]] by clicking [[File:OOjs UI icon signature-ltr.svg|22px|link=Wikipedia:How to sign your posts]] or by typing four tildes <nowiki>(~~~~)</nowiki>; this will automatically produce your username and the date. Also, please do your best to always fill in the [[m:Help:Edit summary|edit summary field]]. Below are some useful links to help you get started. {{{{{|safesubst:}}}#if:{{{1|}}}|</p><p>{{{1}}}</p><p>|}} Happy editing! ~~<includeonly>~~</includeonly><noinclude>~~</noinclude></p></div> |
||
<div style="display:inline-block;width:49%;flex:15em;background-color:#{{{{{|safesubst:}}}#switch:{{{color}}}|pink=FFF5F5|F5FFFA}};margin:5px"> |
<div style="display:inline-block;width:49%;flex:15em;background-color:#{{{{{|safesubst:}}}#switch:{{{color}}}|pink=FFF5F5|F5FFFA}};margin:5px"> |
||
<div style="margin: 0; background-color:{{{{{|safesubst:}}}#switch:{{{color}}}|cyan=#E2F9ED|pink=#F9E2E2|#084080}};font:bold 120%/1.6 sans-serif;border:1px solid {{{{{|safesubst:}}}#switch:{{{color}}}|cyan=#A3BFB1|pink=#BFA3A3|#CEF2E0}};color:{{{{{|safesubst:}}}#switch:{{{color}}}|pink=black|cyan=black|#FFC000}};padding:0.2em 0.4em;">Getting started</div> |
<div style="margin: 0; background-color:{{{{{|safesubst:}}}#switch:{{{color}}}|cyan=#E2F9ED|pink=#F9E2E2|#084080}};font:bold 120%/1.6 sans-serif;border:1px solid {{{{{|safesubst:}}}#switch:{{{color}}}|cyan=#A3BFB1|pink=#BFA3A3|#CEF2E0}};color:{{{{{|safesubst:}}}#switch:{{{color}}}|pink=black|cyan=black|#FFC000}};padding:0.2em 0.4em;">Getting started</div> |
||
* [[Help:Introduction|Introduction]] |
* [[Help:Introduction|Introduction]] |
||
* [[ |
* [[Project:Template guide|Contributing to Wikipedia]] |
||
* [[ |
* [[Project:Community standards|The five pillars of Wikipedia]] |
||
* [[Help:Editing|How to edit a page]] |
* [[Help:Editing|How to edit a page]] |
||
* [[Help:Wikipedia: The Missing Manual/Introduction|Intuitive guide to Wikipedia]] |
* [[Help:Wikipedia: The Missing Manual/Introduction|Intuitive guide to Wikipedia]] |
||
<div style="margin: 0; background:{{{{{|safesubst:}}}#switch:{{{color}}}|cyan=#E2F9ED|pink=#F9E2E2|#084080}};font:bold 120%/1.6 sans-serif;border:1px solid {{{{{|safesubst:}}}#switch:{{{color}}}|cyan=#A3BFB1|pink=#BFA3A3|#CEF2E0}};color:{{{{{|safesubst:}}}#switch:{{{color}}}|pink=black|cyan=black|#FFC000}};padding:0.2em 0.4em;">Finding your way around</div> |
<div style="margin: 0; background:{{{{{|safesubst:}}}#switch:{{{color}}}|cyan=#E2F9ED|pink=#F9E2E2|#084080}};font:bold 120%/1.6 sans-serif;border:1px solid {{{{{|safesubst:}}}#switch:{{{color}}}|cyan=#A3BFB1|pink=#BFA3A3|#CEF2E0}};color:{{{{{|safesubst:}}}#switch:{{{color}}}|pink=black|cyan=black|#FFC000}};padding:0.2em 0.4em;">Finding your way around</div> |
||
* [[ |
* [[Project:Editorial guidance|Table of contents]] |
||
*[[ |
*[[Project:Editorial guidance|Directories and indexes]] |
||
* [[ |
* [[Project:Editorial guidance|Department directory]] |
||
<div style="margin: 0; background-color:{{{{{|safesubst:}}}#switch:{{{color}}}|cyan=#E2F9ED|pink=#F9E2E2|#084080}};font:bold 120%/1.6 sans-serif;border:1px solid {{{{{|safesubst:}}}#switch:{{{color}}}|cyan=#A3BFB1|pink=#BFA3A3|#CEF2E0}};color:{{{{{|safesubst:}}}#switch:{{{color}}}|pink=black|cyan=black|#FFC000}};padding:0.2em 0.4em;">Editing articles</div> |
<div style="margin: 0; background-color:{{{{{|safesubst:}}}#switch:{{{color}}}|cyan=#E2F9ED|pink=#F9E2E2|#084080}};font:bold 120%/1.6 sans-serif;border:1px solid {{{{{|safesubst:}}}#switch:{{{color}}}|cyan=#A3BFB1|pink=#BFA3A3|#CEF2E0}};color:{{{{{|safesubst:}}}#switch:{{{color}}}|pink=black|cyan=black|#FFC000}};padding:0.2em 0.4em;">Editing articles</div> |
||
* [[ |
* [[Project:Manual of Style|How to develop an article]] |
||
* [[ |
* [[Project:Manual of Style|Simplified Manual of Style]] |
||
</div> |
</div> |
||
<div style="display:inline-block;width:49%;flex:15em;background-color:#{{{{{|safesubst:}}}#switch:{{{color}}}|pink=FFF5F5|F5FFFA}};margin:5px"> |
<div style="display:inline-block;width:49%;flex:15em;background-color:#{{{{{|safesubst:}}}#switch:{{{color}}}|pink=FFF5F5|F5FFFA}};margin:5px"> |
||
<div style="margin: 0; background-color:{{{{{|safesubst:}}}#switch:{{{color}}}|cyan=#E2F9ED|pink=#F9E2E2|#084080}};font:bold 120%/1.6 sans-serif;border:1px solid {{{{{|safesubst:}}}#switch:{{{color}}}|cyan=#A3BFB1|pink=#BFA3A3|#CEF2E0}};color:{{{{{|safesubst:}}}#switch:{{{color}}}|pink=black|cyan=black|#FFC000}};padding:0.2em 0.4em;">Getting help</div> |
<div style="margin: 0; background-color:{{{{{|safesubst:}}}#switch:{{{color}}}|cyan=#E2F9ED|pink=#F9E2E2|#084080}};font:bold 120%/1.6 sans-serif;border:1px solid {{{{{|safesubst:}}}#switch:{{{color}}}|cyan=#A3BFB1|pink=#BFA3A3|#CEF2E0}};color:{{{{{|safesubst:}}}#switch:{{{color}}}|pink=black|cyan=black|#FFC000}};padding:0.2em 0.4em;">Getting help</div> |
||
* [[ |
* [[Project:Editorial guidance|Frequently asked questions]] |
||
* [[Help:Cheatsheet|Cheatsheet]] |
* [[Help:Cheatsheet|Cheatsheet]] |
||
* [[ |
* [[Project:Template guide|Our help forum for new editors, the Teahouse]] |
||
* [[ |
* [[Project:Template guide|The Help Desk]], for more advanced questions |
||
* [[Help:Contents|Help pages]] |
* [[Help:Contents|Help pages]] |
||
* [[ |
* [[Project:Template guide|Article Wizard]] – a Wizard to help you create articles |
||
<div style="margin: 0; background-color:{{{{{|safesubst:}}}#switch:{{{color}}}|cyan=#E2F9ED|pink=#F9E2E2|#084080}};font:bold 120%/1.6 sans-serif;border:1px solid {{{{{|safesubst:}}}#switch:{{{color}}}|cyan=#A3BFB1|pink=#BFA3A3|#CEF2E0}};color:{{{{{|safesubst:}}}#switch:{{{color}}}|pink=black|cyan=black|#FFC000}};padding:0.2em 0.4em;">How you can help</div> |
<div style="margin: 0; background-color:{{{{{|safesubst:}}}#switch:{{{color}}}|cyan=#E2F9ED|pink=#F9E2E2|#084080}};font:bold 120%/1.6 sans-serif;border:1px solid {{{{{|safesubst:}}}#switch:{{{color}}}|cyan=#A3BFB1|pink=#BFA3A3|#CEF2E0}};color:{{{{{|safesubst:}}}#switch:{{{color}}}|pink=black|cyan=black|#FFC000}};padding:0.2em 0.4em;">How you can help</div> |
||
* [[ |
* [[Elite Dangerous Wiki:Community Portal|Community Portal]] |
||
* [[ |
* [[Project:Template index/User namespace|Join a WikiProject]] |
||
* Follow [[ |
* Follow [[Project:Editorial guidance|Wikipedia etiquette]] |
||
* Practice [[ |
* Practice [[Project:Editorial guidance|civility]] |
||
* [[ |
* [[Project:Talk page guidelines|Discover what's going on in the Wikimedia community]] |
||
</div></div><!-- Template:W-graphical --><noinclude> |
</div></div><!-- Template:W-graphical --><noinclude> |
||
{{Documentation}} <!-- Please add this template's categories to the /doc subpage - thanks! --> |
{{Documentation}} <!-- Please add this template's categories to the /doc subpage - thanks! --> |
||
Latest revision as of 15:40, 31 October 2026
Hello, Example, and Welcome to Elite Dangerous Wiki!
Thank you for your contributions to this free encyclopedia. If you decide that you need help, check out Getting Help below, ask at the help desk, or place {{Help me}} on your talk page and ask your question there. Please remember to sign your name on talk pages by clicking File:OOjs UI icon signature-ltr.svg or by typing four tildes (~~~~); this will automatically produce your username and the date. Also, please do your best to always fill in the edit summary field. Below are some useful links to help you get started. Happy editing! ~~~~
- Introduction
- Contributing to Wikipedia
- The five pillars of Wikipedia
- How to edit a page
- Intuitive guide to Wikipedia
- Frequently asked questions
- Cheatsheet
- Our help forum for new editors, the Teahouse
- The Help Desk, for more advanced questions
- Help pages
- Article Wizard – a Wizard to help you create articles
| Template documentation follows |
|---|
| Note: the template above may sometimes be partially or fully invisible. |
| Visit "Template:W-graphical/doc" to edit its documentation if it is available. (How does this work?) |
| This template should always be substituted – use {{subst:W-graphical}}. Any accidental transclusions will be automatically substituted by a bot. |
Usage
- To greet an editor with this template just as it appears above (your signature will automatically replace the
~~~~), place the following wikicode on the editor's talk page:
{{subst:W-graphical}}
- To add a message in an additional paragraph before the last sentence, use:
{{subst:W-graphical|message}}
- Replace message with your desired message. It will be inserted into the greeting before "Happy editing!"
- To add a message at the end of the second paragraph, usually for welcomes that point out problems, use:
{{subst:W-graphical||message}}
- An example can be found at {{w-graphical-anon}}, which is a wrapper for this template that utilizes this parameter.
- To add a (level-2) heading above the greeting, use:
{{subst:W-graphical|heading=heading text}}
- The heading will be what is typed in after "heading=".
- To add an article credit to the "Thank you" sentence:
{{subst:W-graphical|article=article title}}
- Sentence will read: "Thank you for your contributions to article title and to this free encyclopedia."
- To change the color of the entire message, use:
{{subst:W-graphical|color=color}}
- Replace color with one of the following choices (the default is navy blue and orange, shown above):
cyanpink
- The above options can be combined:
{{subst:W-graphical|Wikipedia is amazing.|heading=Welcome to Elite Dangerous Wiki|article=Mitochondrion}}
Notes
- Find subst count and examples of this template on User talk pages using this advanced search.
- Note: this template was named {{Welcomeg}} until 2024-12-07 and moved here. Substitutions before that date may be found with this search link.[2026; 2025; 2024] (ignore years before 2024).
See also
A graphic-oriented welcome template.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| heading | heading | A heading to generate
| String | suggested |
| color | color | The color of the background. Currently only supports two alternatives
| Unknown | optional |
| article | article art | An article the user has contributed to | Page name | optional |
| Problem | 2 | A message to be put after "encyclopedia" and will have a paragraph break after itself | Unbalanced wikitext | optional |
| Message | 1 | A message to be put before "Happy" as a separate paragraph | Unbalanced wikitext | optional |