Template:Abandoned: Difference between revisions

From FrathWiki
Jump to navigationJump to search
m (Errors)
m (Now what!)
Line 2: Line 2:
!style="background:#CCCCFF;"| Author
!style="background:#CCCCFF;"| Author
|-
|-
|valign="top"| {{ #if: {{{username|}}} | [[User:{{{username|}}}|{{{realname|{{{username|}}} }}}]] | {{ #if: {{{realname|}}} | {{{realname|}}} | {{{1|unknown}}} }} }}
|valign="top"| {{ #if: {{{username|}}} | [[User:{{{username|}}}|{{{realname|{{{username|}}} }}}]] | {{ #if: {{{realname|}}} | {{{realname|}}} | {{{1|unknown}}}}}}} {{#if: {{{username|}}} | | [[User_talk:{{{username|}}}|{{{talk|Talk}}}]] | {{ #if: {{{3|}}} | | [[User_talk:{{{3}}}|Talk]]|}} }}
{{#if: {{{username|}}} |  | [[User_talk:{{{username|}}}|{{{talk|Talk}}}]] | {{ #if: {{{3|}}} |  | [[User_talk:{{{3}}}|Talk]]|}} }}
|-
|-
!style="background:#CCCCFF;"| Status
!style="background:#CCCCFF;"| Status

Revision as of 07:44, 22 February 2007

Author
unknown
Status
abandoned

This infobox template is used to mark a page as abandoned (no longer worked on). It is based on the box Muke made at Latin Pinyin.

It takes the following parameters:

  • username e.g. bartman
— creates a link to the userpage of the named user.
  • realname e.g. Bart Simpson
— If defined this will show in the user page link instead of the user name. If realname is defined but username isn't realname will be shown without a link.
  • talk e.g. Talk to me!
&mdash will be shown as the text of a link to the user talk page of username. If username is defined and talk isn't the link text will be Talk.
  • date e.g. 2012 or December 21, 2012 or Because I lost interest
— will be shown in parentheses after the word abandoned, and should contain the (approximate) date the article was abandoned and/or the reason it was abandoned. If date is not defined nothing will be shown after abandoned, not even the parentheses.

Thus

{{Abandoned|username=Melroch|realname=BPJ|date=2007,<br>because I was done with it}}

will be shown as here to the right.

Author
BPJ  | Talk
Status
abandoned (2007,
because I was done with it)

Some people don't like named parameters, but as I see them they help to separate logical content from formatting, which IMHO is a Good Thing in a template. Still if you like you can use unnamed parameters like this:

{{Abandoned|<realname>|<date>|<username>}}

e.g.

{{Abandoned|<BPJ>|<2007>|<Melroch>}}

Author
BPJ  | Talk
Status
abandoned 2007


BPJ 04:24, 5 January 2007 (PST)