User:Harrystein/sandbox/template/MIA citation: Difference between revisions

From Leftypedia
Jump to navigation Jump to search
(Reverted to the proper version. The fight continues)
Tag: Manual revert
mNo edit summary
Line 34: Line 34:
Check for year param:
Check for year param:
--> ({{{year|{{{3|<!--
--> ({{{year|{{{3|<!--
If the year is not provided, check the URL for a year and make sure it is numeric:
If the year is not provided, check the URL for a four-digit year:
-->{{if then show|{{isnumeric|{{first word|{{string split|{{{link|{{{1|/works/YEAR/}}}}}}|/works/|2}}|sep=/}}}}|year}}}}}}}}).<!--
-->{{switch by pattern|_input={{{link|{{{1|}}}}}}|_returncaptures=y|/(%d%d%d%d)/|_default=Four-digit year not in URL.}}}}}}}}).<!--
#3: Link & Title.
#3: Link & Title.
--> ''[{{{1|{{{link|[[category:pages incorrectly using the MIAE template]]}}}}}} {{if then show|{{title case|{{{4|{{{title|}}}}}}}}|Source<includeonly>[[category:pages incorrectly using the MIAE template]]</includeonly>}}]'' at the [[Marxists Internet Archive]]
--> ''[{{{1|{{{link|[[category:pages incorrectly using the MIAE template]]}}}}}} {{if then show|{{title case|{{{4|{{{title|}}}}}}}}|Source<includeonly>[[category:pages incorrectly using the MIAE template]]</includeonly>}}]'' at the [[Marxists Internet Archive]]
}}
}}

Revision as of 20:42, 30 May 2024

[1]

  1. Shit, mang. [Author missing] (). [[[category:pages incorrectly using the MIAE template]] Source] at the Marxists Internet Archive