Jump to content

Template:CongLinks and Template:CongLinks/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
No edit summary
 
add check for unknown parameters
 
Line 1: Line 1:
{{#if:{{{congbio|}}}|
{{#if:{{{congbio|}}}|
* [http://bioguide.congress.gov/scripts/biodisplay.pl?index={{{congbio}}} Biography] at the ''[[Biographical Directory of the United States Congress]]''
* [http://bioguide.congress.gov/scripts/biodisplay.pl?index={{{congbio}}} Biography] at the ''[[Biographical Directory of the United States Congress]]''
}}{{#if:{{{fec|}}}|
* [https://www.fec.gov/data/candidate/{{{fec}}} Financial information (federal office)] at the [[Federal Election Commission]]
}}{{#if:{{{congress|}}}|
* [https://www.congress.gov/member/{{{congress}}} Legislation sponsored] at the [[Library of Congress]]
}}{{#if:{{{votesmart|}}}|
}}{{#if:{{{votesmart|}}}|
* [https://justfacts.votesmart.org/candidate/{{{votesmart}}} Profile] at [[Vote Smart]]
* [http://www.votesmart.org/candidate/{{{votesmart}}} Profile] at [[Project Vote Smart]]
|}}{{#if:{{{fec|}}}|
|}}{{#invoke:Check for unknown parameters | check | preview=Page using [[Template:CongLinks]] with unknown parameter "_VALUE_" | unknown={{main other|[[Category:Pages using Template:CongLinks with unknown parameters|_VALUE_{{PAGENAME}}]]}} | congbio | congress | fec | votesmart }}<noinclude>
* [http://www.fec.gov/fecviewer/CandidateCommitteeDetail.do?&tabIndex=1&candidateCommitteeId={{{fec}}} Financial information (federal office)] at the [[Federal Election Commission]]
}}{{#if:{{{congress|}}}|
* [http://beta.congress.gov/member/{{{congress}}} Legislation sponsored] at [[The Library of Congress]]
}}{{#invoke:Check for unknown parameters | check | ignoreblank=1 | unknown=[[Category:Pages using Template:CongLinks with unknown parameters]] | congbio | votesmart | fec | congress }}<noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>