Module:Test passing of templates

From Livermore History Collaborative
Revision as of 09:26, 3 December 2025 by Bmcfann (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Documentation for this module may be created at Module:Test passing of templates/doc

--This doesn't work: the template calls in the returned string will not be expanded by the wikitext parser.

local p = {} --p stands for package

function p.hello( frame )
return   "<ul>{{cited item wrapper |newspaper_item_number = n12 |content = {{cited_item_citation_row|newspaper_title = Dummy Times|publication_date = 1 June 1959|newspaper_page = 3|newspaper_column = 2}}{{cited_item_property_row|property = Item Number|value = n1200}}{{cited_item_property_row|property = Full Text|value = To the wife of Charles McFann, a son}}{{cited_item_property_row|property = Source|value = https://somewhere.com/dummytimes/article/1200/}}}}</ul>"
    
end

return p