Template:Essay/doc: Difference between revisions
Jump to navigation
Jump to search
Harrystein (talk | contribs) (Created page with "==Description== To be placed at head of <code>Essay:</code> namespace pages. ==How to use== Place at the head of an Essay when you create or make an edit to an essay that is your original work, and it will automatically credit you, like so: {{ombox |type = notice |image = 30px |text = <div style="padding-top: 6px; padding-bottom: 5px;">'''This is an essay by Harrystein.'''<br /><div style=...") |
Harrystein (talk | contribs) (Updated for new param "user=no".) |
||
Line 4: | Line 4: | ||
==How to use== | ==How to use== | ||
Place at the head of an Essay when you create or make an edit to an essay that is your original work, and it will automatically credit you, like so: | Place at the head of an Essay when you create or make an edit to an essay that is your original work, and it will automatically credit you, like so: | ||
<nowiki>{{essay}}</nowiki> | |||
yields: | |||
{{ombox | {{ombox | ||
Line 12: | Line 16: | ||
If you are not the author of this piece, you can credit the author with the <code>author</code> parameter. Inputting: | If you are not the author of this piece, you can credit the author with the <code>author</code> parameter. Inputting: | ||
<nowiki>{{essay|author=Discomrade</nowiki> | <nowiki>{{essay|author=Discomrade}}</nowiki> | ||
yields: | yields: | ||
Line 21: | Line 26: | ||
}} | }} | ||
If you are citing an author who is Anonymous or is not an original poster here, you need to avoid the automatic link to that person's (nonexistent) Leftypedia userpage by inputting <code>user=no</code>, as such: | |||
<nowiki>{{essay|author=Kim Jong Un|user=no}}</nowiki> | |||
{{ombox | |||
|type = notice | |||
|image = [[File:Essay.svg.png|30px]] | |||
|text = <div style="padding-top: 6px; padding-bottom: 5px;">'''This is an [[:category:Essays|essay]] by Kim Jong Un.'''<br /><div style="font-size: 90%;">It contains personal opinions or rhetoric written by one or more Leftypedia contributors. This page is not an encyclopedia article, nor is it a policy or guideline written by Leftypedia. | |||
}} | |||
Future additions: options for multiple contributors, i.e. <code>author2</code>,<code>author3</code> et cetera. | |||
==Parameters== | ==Parameters== | ||
{| class="wikitable" | {| class="wikitable" | ||
| | | <code>author</code> || The author of the Essay. If this | ||
|- | |- | ||
| | | <code>user</code> || If this value is set to <code>no</code>, then the <code>author</code> parameter will appear with no hyperlink to a User page on Leftypedia. If any other value is inputted, including leaving the parameter blank, then the User hyperlink will appear normally. | ||
|} | |} |
Revision as of 22:16, 17 August 2023
Description
To be placed at head of Essay:
namespace pages.
How to use
Place at the head of an Essay when you create or make an edit to an essay that is your original work, and it will automatically credit you, like so:
{{essay}}
yields:
![]() | This is an essay by Harrystein. It contains personal opinions or rhetoric written by one or more Leftypedia contributors. This page is not an encyclopedia article, nor is it a policy or guideline written by Leftypedia. |
If you are not the author of this piece, you can credit the author with the author
parameter. Inputting:
{{essay|author=Discomrade}}
yields:
![]() | This is an essay by Discomrade. It contains personal opinions or rhetoric written by one or more Leftypedia contributors. This page is not an encyclopedia article, nor is it a policy or guideline written by Leftypedia. |
If you are citing an author who is Anonymous or is not an original poster here, you need to avoid the automatic link to that person's (nonexistent) Leftypedia userpage by inputting user=no
, as such:
{{essay|author=Kim Jong Un|user=no}}
![]() | This is an essay by Kim Jong Un. It contains personal opinions or rhetoric written by one or more Leftypedia contributors. This page is not an encyclopedia article, nor is it a policy or guideline written by Leftypedia. |
Future additions: options for multiple contributors, i.e. author2
,author3
et cetera.
Parameters
author |
The author of the Essay. If this |
user |
If this value is set to no , then the author parameter will appear with no hyperlink to a User page on Leftypedia. If any other value is inputted, including leaving the parameter blank, then the User hyperlink will appear normally.
|