Difference between revisions of "Template:Ffu h/doc"

From blackwiki
Jump to navigation Jump to search
imported>AntiCompositeNumber
(TemplateData)
imported>BrandonXLF
(Added examples and sections)
Line 1: Line 1:
{{Documentation subpage}}
+
__NOTOC__{{Documentation subpage}}
 +
<includeonly>{{substituted|auto=yes}}</includeonly>
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 +
 
== Usage ==
 
== Usage ==
 
Place <code><nowiki>{{subst:ffu h}}</nowiki></code> below the section header when a [[WP:FFU]] request is placed on hold.  
 
Place <code><nowiki>{{subst:ffu h}}</nowiki></code> below the section header when a [[WP:FFU]] request is placed on hold.  
  
To specify a timestamp that is not the current date, use <code><nowiki>{{ffu h|2020-01-01}}</nowiki></code>.
+
To specify a start timestamp that is not the current date, use <code><nowiki>{{ffu h|2020-01-01}}</nowiki></code>.
 +
 
 +
This template will add a notice that the request is on hold until 7 days from the start date, after 7 days, the template will expire and show a hold expired message.
 +
 
 +
==Examples==
 +
{|
 +
|<code><nowiki>{{subst:ffu h}}</nowiki></code>
 +
|{{ffu h|{{#time: Y-m-d}}}}
 +
|-
 +
|<code>{{((}}subst:ffu h&#124;{{#time: Y-m-d|-6 days}}{{))}}</code>
 +
|{{ffu h|{{#time: Y-m-d|-6 days}}}}
 +
|-
 +
|<code>{{((}}subst:ffu h&#124;{{#time: Y-m-d|-7 days}}{{))}}</code>
 +
|{{ffu h|{{#time: Y-m-d|-7 days}}}}
 +
|}
  
 +
==FFU container templates==
 
{{#section-h:Template:Ffu/doc/table|Container templates:}}
 
{{#section-h:Template:Ffu/doc/table|Container templates:}}
<includeonly>{{sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
  
}}</includeonly>
+
==TemplateData==
 +
 
 
<templatedata>
 
<templatedata>
 
{
 
{
Line 26: Line 42:
 
}
 
}
 
</templatedata>
 
</templatedata>
 +
 +
<includeonly>{{sandbox other||
 +
<!-- Categories below this line, please; interwikis at Wikidata -->
 +
 +
}}</includeonly>

Revision as of 05:06, 7 January 2020


Usage

Place {{subst:ffu h}} below the section header when a WP:FFU request is placed on hold.

To specify a start timestamp that is not the current date, use {{ffu h|2020-01-01}}.

This template will add a notice that the request is on hold until 7 days from the start date, after 7 days, the template will expire and show a hold expired message.

Examples

{{subst:ffu h}} Template:Resbox
{{subst:ffu h|2025-12-26}} Template:Resbox
{{subst:ffu h|2025-12-25}} Template:Resbox

FFU container templates

{{#section-h:Template:Ffu/doc/table|Container templates:}}

TemplateData

Template for marking requests placed on hold at Files for Upload.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Date1

Date the request was put on hold

Auto value
{{subst:CURRENTTIMESTAMP}}
Daterequired