Template

Difference between revisions of "Show news monthly update row"

 
Line 3: Line 3:
 
|Cases = '''Case ({{#cargo_query:tables=Cases|fields=Sentence|where=_pageName="{{{Name|}}}"|default=|format=template|template=Cargo trim}}).''' [[{{{Name|}}}]] — {{#cargo_query:table=Cases|fields=Summary|where=_pageName="{{{Name|}}}" |format=template|template=Cargo trim}}
 
|Cases = '''Case ({{#cargo_query:tables=Cases|fields=Sentence|where=_pageName="{{{Name|}}}"|default=|format=template|template=Cargo trim}}).''' [[{{{Name|}}}]] — {{#cargo_query:table=Cases|fields=Summary|where=_pageName="{{{Name|}}}" |format=template|template=Cargo trim}}
 
|News = '''{{{RSS title|}}}'''. {{{RSS description}}}
 
|News = '''{{{RSS title|}}}'''. {{{RSS description}}}
|Legislation='''Legislation.''' [[{{{Name|}}}]] — {{#cargo_query:table=Legislation|fields=Summary|where=_pageName="{{{Name|}}}" }}
+
|Legislation='''Legislation.''' [[{{{Name|}}}]] — {{#cargo_query:table=Legislation|fields=Summary|where=_pageName="{{{Name|}}}" |format=template|template=Cargo trim}}
 
|Resources='''{{#cargo_query:tables=Resources|fields=Sentence|where=Resources._pageName LIKE "{{#replace: {{{Name|}}} | " | _ }}"|outro=.|default=|format=template|template=Cargo trim}}''' [[{{{Name|}}}]] — {{#cargo_query:table=Resources|fields=Abstract|where=Resources._pageName LIKE "{{#replace: {{{Name|}}} | " | _ }}" |format=template|template=Cargo trim}}
 
|Resources='''{{#cargo_query:tables=Resources|fields=Sentence|where=Resources._pageName LIKE "{{#replace: {{{Name|}}} | " | _ }}"|outro=.|default=|format=template|template=Cargo trim}}''' [[{{{Name|}}}]] — {{#cargo_query:table=Resources|fields=Abstract|where=Resources._pageName LIKE "{{#replace: {{{Name|}}} | " | _ }}" |format=template|template=Cargo trim}}
|Consultations='''Consultation.''' [[{{{Name|}}}]] — {{#cargo_query:table=Consultations|fields=Description|where=_pageName="{{{Name|}}}" }}
+
|Consultations='''Consultation.''' [[{{{Name|}}}]] — {{#cargo_query:table=Consultations|fields=Description|where=_pageName="{{{Name|}}}" |format=template|template=Cargo trim}}
 
|Error: No table specified
 
|Error: No table specified
 
|Jobs='''Job advert.''' [[{{{Name|}}}]]. See [[Jobs]]
 
|Jobs='''Job advert.''' [[{{{Name|}}}]]. See [[Jobs]]

Latest revision as of 20:54, 13 February 2020