Template:Featured image code draft/doc: Difference between revisions

no edit summary
(Created page with "<pre>{{Featured image code draft|month=April|year=2022|caption=test test caption caption caption caption.|author=Photo by Karl Koch|Photo by:Julie Kramer|date=January 1, [...")
 
No edit summary
Line 1: Line 1:
Doing some fiddling around. If you redirect any image to <nowiki>[[File:Featured image MONTH YEAR]]</nowiki> (no file type at the end), that image will appear in this template. It would, in theory, allow a user to "pick" the featured image without needing to know how to embed an image or do much wiki editing at all - they just:
#create the page <nowiki>[[File:Featured image MONTH YEAR]]</nowiki> (no file type at the end)
#Type <nowiki>#REDIRECT [[their file name]]</nowiki> (with a file type, of course - this is an actual image on the wiki) - type that into the page and save it.
A more seasoned editor can format the rest, which I've just made a named template version for (which I think makes templates like 10,000 times more user-friendly. See below:
<pre>{{Featured image code draft|month=April|year=2022|caption=test test caption caption caption caption.|author=Photo by Karl Koch|Photo by:Julie Kramer|date=[[January 1]], [[1994]]|gallery=Rivers Cuomo|size=500px}}</pre>
<pre>{{Featured image code draft|month=April|year=2022|caption=test test caption caption caption caption.|author=Photo by Karl Koch|Photo by:Julie Kramer|date=[[January 1]], [[1994]]|gallery=Rivers Cuomo|size=500px}}</pre>


{{Featured image code draft|month=April|year=2022|caption=test test caption caption caption caption.|author=Photo by Karl Koch|Photo by:Julie Kramer|date=[[January 1]], [[1994]]|gallery=Rivers Cuomo|size=500px}}
{{Featured image code draft|month=April|year=2022|caption=test test caption caption caption caption.|author=Photo by:Julie Kramer|date=[[January 1]], [[1994]]|gallery=Rivers Cuomo|size=500px}}