Template:Abandoned: Difference between revisions
From FrathWiki
Jump to navigationJump to search
m (Dang search-and-replace. Now off to school! :)) |
m (Formatting) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
!style="background:#CCCCFF;"| Author | !style="background:#CCCCFF;"| Author | ||
|- | |- | ||
|valign="top"| [[User:{{{ | |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]]|}} }} | ||
|- | |- | ||
!style="background:#CCCCFF;"| Status | !style="background:#CCCCFF;"| Status | ||
|- | |- | ||
|valign="top"| <span style="color:red">abandoned</span> {{ #if: {{{date|}}} | ({{{date|}}}) |}} | |valign="top"| <span style="color:red">abandoned</span> {{ #if: {{{date|}}} | ({{{date|}}}) |{{#if: {{{2|}}} | ({{{2|}}})|}} }} | ||
|} | |}<noinclude> | ||
This infobox template is used to mark a page as abandoned (no longer worked on). | |||
It is based on the box [[User:Muke|Muke]] made at [[Latin Pinyin]]. | |||
It takes the following parameters: | |||
<nowiki>{{Abandoned|<realname>|<date>|<username>}}</nowiki> | |||
Or with named parameters: | |||
* <tt>username</tt> e.g. <tt>bartman</tt> | |||
:— creates a link to the userpage of the named user. | |||
* <tt>realname</tt> e.g. <tt>Bart Simpson</tt> | |||
:— If defined this will show in the user page link instead of the user name. If <tt>realname</tt> is defined but <tt>username</tt> isn't <tt>realname</tt> will be shown without a link. | |||
* <tt>talk</tt> e.g. <tt>Talk to me!</tt> | |||
:&mdash will be shown as the text of a link to the user talk page of <tt>username</tt>. If <tt>username</tt> is defined and <tt>talk</tt> isn't the link text will be ''Talk''. | |||
* <tt>date</tt> e.g. <tt>2012</tt> or <tt>December 21, 2012</tt> or <tt>Because I lost interest</tt> | |||
:— 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 <tt>date</tt> is not defined nothing will be shown after ''abandoned'', not even the parentheses. | |||
Thus | |||
<nowiki>{{Abandoned|username=Melroch|realname=BPJ|date=2007,<br>because I was done with it}}</nowiki> | |||
will be shown as here to the right. | |||
{{Abandoned|username=Melroch|realname=BPJ|date=2007,<br>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: | |||
<nowiki>{{Abandoned|<realname>|<date>|<username>}}</nowiki> | |||
e.g. | |||
<nowiki>{{Abandoned|<BPJ>|<2007>|<Melroch>}}</nowiki> | |||
{{Abandoned|BPJ|2007|Melroch}} | |||
or | |||
<nowiki>{{Abandoned|<BPJ>|<2007>}}</nowiki> | |||
{{Abandoned|BPJ|2007}} | |||
[[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)