Template:Abandoned: Difference between revisions
From FrathWiki
Jump to navigationJump to search
m (Now what!) |
m (Formatting) |
||
(One intermediate revision by the same user not shown) | |||
Line 6: | Line 6: | ||
!style="background:#CCCCFF;"| Status | !style="background:#CCCCFF;"| Status | ||
|- | |- | ||
|valign="top"| <span style="color:red">abandoned</span> {{ #if: {{{date|}}} | ({{{date|}}}) |{{{2|}}} }} | |valign="top"| <span style="color:red">abandoned</span> {{ #if: {{{date|}}} | ({{{date|}}}) |{{#if: {{{2|}}} | ({{{2|}}})|}} }} | ||
|}<noinclude> | |}<noinclude> | ||
This infobox template is used to mark a page as abandoned (no longer worked on). | This infobox template is used to mark a page as abandoned (no longer worked on). | ||
Line 12: | Line 12: | ||
It takes the following parameters: | It takes the following parameters: | ||
<nowiki>{{Abandoned|<realname>|<date>|<username>}}</nowiki> | |||
Or with named parameters: | |||
* <tt>username</tt> e.g. <tt>bartman</tt> | * <tt>username</tt> e.g. <tt>bartman</tt> | ||
Line 33: | Line 37: | ||
use unnamed parameters like this: | use unnamed parameters like this: | ||
<nowiki>{{Abandoned|<realname>|<date>|<username>}}</nowiki> | <nowiki>{{Abandoned|<realname>|<date>|<username>}}</nowiki> | ||
e.g. | e.g. | ||
<nowiki>{{Abandoned|<BPJ>|<2007>|<Melroch>}}</nowiki> | <nowiki>{{Abandoned|<BPJ>|<2007>|<Melroch>}}</nowiki> | ||
{{Abandoned|BPJ|2007|Melroch}} | {{Abandoned|BPJ|2007|Melroch}} | ||
or | |||
<nowiki>{{Abandoned|<BPJ>|<2007>}}</nowiki> | |||
{{Abandoned|BPJ|2007}} | |||
[[User:Melroch|BPJ]] 04:24, 5 January 2007 (PST)</noinclude> | [[User:Melroch|BPJ]] 04:24, 5 January 2007 (PST)</noinclude> |
Latest revision as of 07:59, 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:
{{Abandoned|<realname>|<date>|<username>}}
Or with named 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) |
or
{{Abandoned|<BPJ>|<2007>}}
Author |
---|
BPJ |
Status |
abandoned (2007) |
BPJ 04:24, 5 January 2007 (PST)