Difference between revisions of "Template:Author"
From Dungeons and Dragons Wiki
m (1 revision: old templates) |
TK-Squared (talk | contribs) |
||
Line 1: | Line 1: | ||
<includeonly>{| cellspacing="0" cellpadding="0" class="toccolours author" style="{{{style|}}}" | <includeonly>{| cellspacing="0" cellpadding="0" class="toccolours author" style="{{{style|}}}" | ||
− | |+ Created By | + | |+ {{#if:{{{adopter|}}}|Adopted By|Created By}} |
|- | |- | ||
− | ! colspan="2" class="user" | {{ | + | ! colspan="2" class="user" | {{#if:{{{adopter|}}} |
− | + | |{{ | |
− | + | #if: {{{url|}}} | |
− | + | |[{{{url}}} | |
− | + | {{ | |
− | + | #if: {{{isnotuser|}}} | |
− | + | |{{{adopter}}}] | |
− | + | |{{ | |
− | + | #if: {{{display_name|}}} | |
− | + | |{{{display_name}}} | |
− | + | |{{{adopter}}} | |
− | + | }}] ([[User talk:{{{adopter}}}|talk]]) | |
− | + | }} | |
− | + | |{{ | |
− | + | #ifeq: {{{isnotuser|no}}}|no | |
− | + | |[[User:{{{adopter}}}|{{ | |
− | + | #if: {{{display_name|}}} | |
− | + | |{{{display_name}}} | |
− | + | |{{{adopter}}} | |
− | + | }}]] ([[User talk:{{{adopter}}}|talk]]) | |
+ | |{{#ifeq: {{{isnotuser|}}}|no||{{{adopter}}} }} | ||
+ | }} | ||
+ | }} | ||
+ | |{{ | ||
+ | #if: {{{url|}}} | ||
+ | |[{{{url}}} | ||
+ | {{ | ||
+ | #if: {{{isnotuser|}}} | ||
+ | |{{{author_name}}}] | ||
+ | |{{ | ||
+ | #if: {{{display_name|}}} | ||
+ | |{{{display_name}}} | ||
+ | |{{{author_name}}} | ||
+ | }}] ([[User talk:{{{author_name}}}|talk]]) | ||
+ | }} | ||
+ | |{{ | ||
+ | #ifeq: {{{isnotuser|no}}}|no | ||
+ | |[[User:{{{author_name}}}|{{ | ||
+ | #if: {{{display_name|}}} | ||
+ | |{{{display_name}}} | ||
+ | |{{{author_name}}} | ||
+ | }}]] ([[User talk:{{{author_name}}}|talk]]) | ||
+ | |{{#ifeq: {{{isnotuser|}}}|no||{{{author_name}}} }} | ||
+ | |||
− | + | }} | |
+ | }} | ||
+ | }} | ||
+ | {{#if:{{{adopter|}}} | ||
+ | | | ||
+ | {{!}}- | ||
+ | ! Original Creator: | ||
+ | {{!}} {{{author_name}}} | ||
}} | }} | ||
|- | |- | ||
− | ! Date Created: | + | {{#if:{{{date_adopted|}}} |
− | + | | ! Date Adopted: | |
+ | {{!}} {{{date_adopted|}}} | ||
+ | | ! Date Created: | ||
+ | {{!}} {{{date_created}}} | ||
+ | }} | ||
|- | |- | ||
! Status: | ! Status: | ||
− | | {{{status}}}{{ | + | | {{{status}}} |
− | + | {{#if: {{{editing|Please feel free to edit [[Constructive Editing (DnD Guideline)|constructively]]!}}} | |
|<nowiki/> | |<nowiki/> | ||
{{!}}- | {{!}}- | ||
! Editing: | ! Editing: | ||
{{!}} {{{editing|Please feel free to edit [[Constructive Editing (DnD Guideline)|constructively]]!}}} | {{!}} {{{editing|Please feel free to edit [[Constructive Editing (DnD Guideline)|constructively]]!}}} | ||
+ | }} | ||
+ | {{#if:{{{favor|}}} | ||
+ | | | ||
+ | {{!}}- | ||
+ | ! style="vertical-align:middle" {{!}} Rating: | ||
+ | {{!}} style="vertical-align:middle;" {{!}} | ||
+ | {{#switch:{{{favor}}} | ||
+ | |1 | ||
+ | |2=This article is rated Bronze! [[Image:Bronzestar.png{{!}}25px]] [[Category:Bronze Rated]] | ||
+ | |3 | ||
+ | |4 | ||
+ | |5=This article is rated Silver! [[Image:Silverstar.png{{!}}25px]] [[Category:Silver Rated]] | ||
+ | |6 | ||
+ | |7 | ||
+ | |8 | ||
+ | |9=This article is rated Gold! [[Image:Goldstar.png{{!}}25px]] [[Category:Gold Rated]] | ||
+ | |Nominate this article to be rated | ||
+ | }} | ||
+ | | | ||
+ | {{!}}- | ||
+ | {{!}} colspan="2" style="text-align:center;" {{!}} <span class="plainlinks">[{{fullurl:RC:Nominations|action=edit§ion=new&editintro=Rating+Formatting+Instructions&preload=Rating+Preload }} Nominate this article to be rated]</span> | ||
+ | |||
+ | }} | ||
+ | {{#if:{{{img|}}} | ||
+ | | | ||
+ | {{!}}- | ||
+ | {{!}} colspan="2" style="text-align:center;" {{!}} | ||
+ | {{!}}- | ||
+ | {{!}} colspan="2" style="text-align:center;" {{!}} [[Image:{{{img}}}{{!}}200px]] | ||
+ | {{#if:{{{caption|}}} | ||
+ | | | ||
+ | {{!}}- | ||
+ | {{!}} colspan="2" {{!}} {{{caption}}} | ||
+ | }} | ||
+ | |||
}} | }} | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> |
Revision as of 18:30, 13 August 2009
Contents
Examples
No Optional Params (Default)
| |||||||||
Rating box not supported outside of the main namespace. | |||||||||
Rate this article Discuss this article |
{{Author |author_name=Sledged |date_created=2007-05-29 |status=Done for now }}
display_name Param
| |||||||||
Rating box not supported outside of the main namespace. | |||||||||
Rate this article Discuss this article |
{{Author |author_name=Sledged |display_name=Your Lord and Master |date_created=2007-05-29 |status=Done for now }}
isnotuser Param
| |||||||||
Rating box not supported outside of the main namespace. | |||||||||
Rate this article Discuss this article |
{{Author |author_name=Sledged |isnotuser=I'm not a user!! |date_created=2007-05-29 |status=Done for now }}
url Param
| |||||||||
Rating box not supported outside of the main namespace. | |||||||||
Rate this article Discuss this article |
{{Author |author_name=Sledged |url=http://www.dandwiki.com/wiki/User:Sledged |date_created=2007-05-29 |status=Done for now }}
display_name and isnotuser Params
| |||||||||
Rating box not supported outside of the main namespace. | |||||||||
Rate this article Discuss this article |
{{Author |author_name=Sledged |display_name=Your Lord and Master |isnotuser=I'm not a user!! |date_created=2007-05-29 |status=Done for now }}
Note that that the dislpay_name parameter is ignored and the result is the same as the isnotuser Param example.
display_name and url Params
| |||||||||
Rating box not supported outside of the main namespace. | |||||||||
Rate this article Discuss this article |
{{Author |author_name=Sledged |display_name=Your Lord and Master |url=http://www.dandwiki.com/wiki/User:Sledged |date_created=2007-05-29 |status=Done for now }}
isnotuser and url Params
| |||||||||
Rating box not supported outside of the main namespace. | |||||||||
Rate this article Discuss this article |
{{Author |author_name=Sledged |isnotuser=I'm not a user!! |url=http://www.dandwiki.com/wiki/User:Sledged |date_created=2007-05-29 |status=Done for now }}
display_name, isnotuser, and url Params
| |||||||||
Rating box not supported outside of the main namespace. | |||||||||
Rate this article Discuss this article |
{{Author |author_name=Sledged |display_name=Your Lord and Master |isnotuser=I'm not a user!! |url=http://www.dandwiki.com/wiki/User:Sledged |date_created=2007-05-29 |status=Done for now }}
Note that that the dislpay_name parameter is ignored and the result is the same as the isnotuser and url Params example
editing Param
| |||||||||
Rating box not supported outside of the main namespace. | |||||||||
Rate this article Discuss this article |
{{Author |author_name=Sledged |date_created=2007-05-29 |status=In progress... |editing=Please ask before editing! }}