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

From blackwiki
Jump to navigation Jump to search
test>Andrybak
m (update)
m (5 revisions imported)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- 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]]) -->
 +
Template for displaying [[WP:POTD|POTD]] on subpages of portals.
 +
 
== Usage ==
 
== Usage ==
 
  {{tlp|Portal POTD|more{{=}}<var>footer</var>|<var>YYYY-MM-DD</var>}}
 
  {{tlp|Portal POTD|more{{=}}<var>footer</var>|<var>YYYY-MM-DD</var>}}
Line 8: Line 10:
 
: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]].
 
: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 footer. For example, <code><nowiki>[[Portal:Sports/Selected picture|More selected pictures...]]</nowiki></code>.
+
:Wikitext for the footer. For example, <code><nowiki>|more=[[Portal:Sports/Selected picture|More selected pictures...]]</nowiki></code>.
  
 +
== See also ==
 +
* [[Wikipedia:Picture of the day/Archive]]
 
<includeonly>{{sandbox other||
 
<includeonly>{{sandbox other||
 
<!-- Categories below this line; interwikis at Wikidata -->
 
<!-- Categories below this line; interwikis at Wikidata -->
 
[[Category:Wikipedia Portal templates|POTD]]
 
[[Category:Wikipedia Portal templates|POTD]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 16:37, 8 September 2020

Template for displaying POTD on subpages of portals.

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, |more=[[Portal:Sports/Selected picture|More selected pictures...]].

See also