Editing
Module:Process query output
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
local p = {} function p.processData(frame) local page = frame.args.page local item_number = frame.args.item_number local newspaper_title = frame.args.newspaper_title local newspaper_page = frame.args.newspaper_page local newspaper_column = frame.args.newspaper_column local publication_date = frame.args.publication_date local full_text = frame.args.full_text local excerpt = frame.args.excerpt local summary = frame.args.summary local online_source = frame.args.online_source -- Perform your desired logic return "<li class=\"news-source-2_cited-item\" id=\"n2\"><ul class=\"news-source-2_cited-item-sub-ul\"><li class=\"news-source-2_cited-item-sub-li\"><span class=\"news-source-2_citation\">" .. item_number .. ": <cite>" .. newspaper_title .. "</cite>, " .. publication_date .. ", pg " .. newspaper_page .. ", col " .. newspaper_column .. "</span></li><li class=\"news-source-2_cited-item-sub-li\"> Full Text:" .. full_text .. "</li><li class=\"news-source-2_cited-item-sub-li\">Source: [" .. online_source .. " Newspapers.com]</li></ul></li>" end return p
Summary:
Please note that all contributions to Livermore History Collaborative may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Livermore History Collaborative:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Template used on this page:
Module:Process query output/doc
(
edit
)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Module
Discussion
English
Views
Read
Edit source
View history
More
Refresh
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Tools
What links here
Related changes
Page information