Template:Author: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<includeonly>{{#if: {{{systemtag|}}}|{{{{{systemtag}}}|nodb=true}}|{{{author_name|Anonymous}}}|}}
{{#cargo_attach:
_table = Pages_Info
}}</noinclude><includeonly>{{#if: {{{systemtag|}}}|{{{{{systemtag}}}|nodb=true}}|{{{author_name|Anonymous}}}|}}
<div style="float:right; border-style:solid; border-width:1px; border-color:#0000ff; border-radius:0.5em; <!--max-width: 20vw;--> padding:0 0.5em;"><big>'''{{#if: {{{author_name|}}}|[[User: {{{author_name}}}|{{#if: {{{display_name|}}}|{{{display_name}}}|{{{author_name}}}|}}]]|[[User Creation]]}}'''</big>&nbsp;&nbsp;<span class="mw-customtoggle-myDivision">+</span>[[Category:User]]<br />
<div style="float:right; border-style:solid; border-width:1px; border-color:#0000ff; border-radius:0.5em; <!--max-width: 20vw;--> padding:0 0.5em;"><big>'''{{#if: {{{author_name|}}}|[[User: {{{author_name}}}|{{#if: {{{display_name|}}}|{{{display_name}}}|{{{author_name}}}|}}]]|[[User Creation]]}}'''</big>&nbsp;&nbsp;<span class="mw-customtoggle-myDivision">+</span>[[Category:User]]<br />
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-myDivision">
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-myDivision">
Line 10: Line 7:
Status: {{{status|}}}
Status: {{{status|}}}
</div><!--collapsable-->
</div><!--collapsable-->
<!-- {{#if: {{{setting|}}}|<br />{{5e Setting|{{{setting}}}}}|}} -->
</div>
</div>
<!--  
<!--  
Line 116: Line 114:
}}
}}
|}{{#arraymap:{{#show: {{TALKPAGENAME}} |?Favored}}|, |x|[[Rated By::x| ]]|}}{{#arraymap:{{#show: {{TALKPAGENAME}} |?Liked}}|, |x|[[Rated By::x| ]]|}}{{#arraymap:{{#show: {{TALKPAGENAME}} |?Neutral}}|, |x|[[Rated By::x| ]]|}}{{#arraymap:{{#show: {{TALKPAGENAME}} |?Disliked}}|, |x|[[Rated By::x| ]]|}}{{#arraymap:{{#show: {{TALKPAGENAME}} |?Opposed}}|, |x|[[Rated By::x| ]]|}}
|}{{#arraymap:{{#show: {{TALKPAGENAME}} |?Favored}}|, |x|[[Rated By::x| ]]|}}{{#arraymap:{{#show: {{TALKPAGENAME}} |?Liked}}|, |x|[[Rated By::x| ]]|}}{{#arraymap:{{#show: {{TALKPAGENAME}} |?Neutral}}|, |x|[[Rated By::x| ]]|}}{{#arraymap:{{#show: {{TALKPAGENAME}} |?Disliked}}|, |x|[[Rated By::x| ]]|}}{{#arraymap:{{#show: {{TALKPAGENAME}} |?Opposed}}|, |x|[[Rated By::x| ]]|}}
-->{{#if: {{{nodb|}}}|<!--skip-->|{{#cargo_store:
--><br />{{#if: {{{nodb|}}}|<!--skip-->|{{StorePageData
_table = Pages_Info
|pagetitle={{PAGENAME}}
|where = Page_Name = {{FULLPAGENAME}}
|pageid=
|Page_Name = {{FULLPAGENAME}}
|sources={{#if: {{{author_name|}}}|{{{author_name}}}|}}
|Page_Title = {{PAGENAME}}
|licenses={{Systemtag Array|{{{systemtag|}}}}}
|User = 1
|canon=<!--blank, true if canon-->
|Sources = {{#if: {{{author_name|}}}|[[User: {{{author_name}}}|{{#if: {{{display_name|}}}|{{{display_name}}}|{{{author_name}}}|}}]]|}}
|creationdate={{{date_created|}}}
|Licenses = {{Systemtag Array|{{{systemtag|}}}}}
|setting={{{setting|}}}  
|Date_Created = {{{date_created|}}}
|pointer=<!--blank, true if pointer-->
|Categories = _categories
|published=<!--blank, true if published-->
|hidden=<!--blank, true if hidden-->
|ua=<!--blank, true if hidden-->
|user=1<!--blank, true if user creation-->
|categories=<!-- NOT CURRENTLY USED list of categories-->
}}}}</includeonly><noinclude>{{Documentation}}</noinclude>
}}}}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 16:15, 31 March 2021

Template documentation (for the above template, sometimes hidden or invisible)

Usage

{{Author
|author_name=
|date_created=
|systemtag= <!--5euc-->
|setting=
|adopter=
|date_adopted=
|display_name=
|url=
|isnotuser=
|co-authors=
|contributors=
|status=
|editing=
|balance=
|img=
|imgsize=
|caption=
}}
Foo  +

User Creation
Source: Foo
Date Created: 1837-02-28
Status: Finished



Note that unused fields may be omitted.

Parameters
Name Required Description Example
author_name Yes The wiki user name of the article's primary author. The author's name will be used as a link to their user page, and is case sensitive.
If the author is not a member of the wiki they may enter whatever name they like, but must also set the "isnotuser" parameter.
Tarkisflux
date_created Yes The date the article was created. This may be different from the date that the article is added to the wiki 23 December, 2011
adopter Varies The wiki user name of the article's current adopter. The adopter's name will be used as a link to their user page, and is case sensitive.
If the adopter is not a member of the wiki they may enter whatever name they like, but must also set the "isnotuser" parameter.
Note that this field is only used when the article has been adopted by a new author, and the original author is no longer responsible for its content. In those instances it is required, but in no others.
Aarnott
date_adopted No The date the article was adopted by the current adopter. If this field is left blank, the creation date of the article will show instead. 24 December, 2011
display_name No The name the author or adopter would rather have shown to people who view the page. This text will replace the author_name or adopter parameter text as the default text for the user page link. This parameter is redundant in conjunction with the "isnotuser" parameter, and should not be used in those cases. SuperAmazingMan
url No If specified, this url will replace the default author or adopter name link behavior with a link to the url instead. www.SuperAmazingMan.com
isnotuser No This parameter is only used to specify the work of non-wiki users. If any value is entered for this parameter the default author or adopter name linking behavior is changed. The link to their talk page is removed, and the name itself does not function as a link unless the "url" parameter is also specified. True
co-authors No This parameter is used to specify additional authors on a project. Any number of additional authors can be added in a comma separated list. Each entry here is assumed to be a wiki user name, and a link to their user page will be generated. These entries will also be granted author credit in the SMW Author property. This parameter does not support co-authors without wiki accounts. Guntank, SolEiji, TK-Tesaracted
contributors No This parameter is used to specify additional contributors to a project, people who submitted work but not a sufficient amount to split authorship. Any number of contributors can be added in a comma separated list. No links will be created for these entries, and none of them will be granted author credit in the SMW Author property. This parameter does not support co-authors without wiki accounts. PoltergeistOval, UnlivingRogue
status Yes This parameter should contain a summary of the completion status of the article. Complete
editing No This parameter is used to specify editing restrictions on an article. If no value is entered here, the default text of "Clarity edits only please" will be used. Mechanical edits welcome
balance Varies This parameter specifies the intended balance level of the article, though some article types do not require a balance tag (incl: all 4e articles, 3.5e races, 3.5e equipment, etc.). All 3.5e article types that require a balance tag must choose one of "Low", "Moderate", "High", "Very High", or "Unquantifiable". Moderate
img No This parameter specifies an image, which has been uploaded to the wiki via Special:Upload, to show in the author box. foo.png
imgsize No This parameter specifies the width, in pixels, to show the image specified by the image parameter. It otherwise defaults to 200px. 300px
caption No This parameter adds a caption to the image used in the author box. A Foo drinking away its troubles in a bar.

Visit Template:Author/doc to edit this text! (How does this work?)