Difference between revisions of "Template:Portal POTD/doc"
Jump to navigation
Jump to search
test>Andrybak (create documentation) |
m (5 revisions imported) |
||
| (4 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> | + | {{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 | + | :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
| 40px | This is a documentation subpage for Template:Portal POTD. It contains usage information, categories and other content that is not part of the original template page. |
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...]].