Difference between revisions of "Template:Portal POTD/doc"

From blackwiki
Jump to navigation Jump to search
test>Andrybak
(create documentation)
 
test>Andrybak
m (update)
Line 2: Line 2:
 
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
== Usage ==
 
== Usage ==
  {{tlp|Portal POTD|more{{=}}<var>left footer</var>|<var>YYYY-MM-DD</var>}}
+
  {{tlp|Portal POTD|more{{=}}<var>footer</var>|<var>YYYY-MM-DD</var>}}
  
 
== Parameters ==
 
== Parameters ==
 
;{{para|1}}
 
;{{para|1}}
:Date of the [[Wikipedia:Picture of the day|picture of the day]]. This should be the subpage name of [[Template:POTD]].
+
:Date of the [[Wikipedia:Picture of the day|picture of the day]] in YYYY-MM-DD format. This should be the subpage name of [[Template:POTD]].
 
;{{para|more}}
 
;{{para|more}}
:Wikitext for the left footer. For example, <code><nowiki>[[Portal:Sports/Selected picture|More selected pictures...]]</nowiki></code>.
+
:Wikitext for the footer. For example, <code><nowiki>[[Portal:Sports/Selected picture|More selected pictures...]]</nowiki></code>.
  
 
<includeonly>{{sandbox other||
 
<includeonly>{{sandbox other||

Revision as of 13:06, 13 June 2020

Usage

{{Portal POTD|more=footer|YYYY-MM-DD}}

Parameters

|1=
Date of the picture of the day in YYYY-MM-DD format. This should be the subpage name of Template:POTD.
|more=
Wikitext for the footer. For example, [[Portal:Sports/Selected picture|More selected pictures...]].