Template:TNG showdata/crew info row test: Difference between revisions

From 'City of Adelaide' History and Genealogy Site
Jump to navigation Jump to search
(Created page with "<!--{| class="wikitable sortable" ! # sort ! tng_ID ! TNG Last name ! TNG First name ! Crew Last name ! Crew First name ! Check {{#display_external_table:template=TNG_showdata...")
 
No edit summary
Line 4: Line 4:
! TNG Last name
! TNG Last name
! TNG First name
! TNG First name
! Voyage ID
! Crew Last name
! Crew Last name
! Crew First name
! Crew First name
! Check
! Check
{{#display_external_table:template=TNG_showdata/crew_info_row_test|data=personID=personID,tnglastname=tnglastname,tngfirstname=tngfirstname,crewlastname=crewlastname,crewfirstname=crewfirstname}}
{{#display_external_table:template=TNG_showdata/crew_info_row_test|data=personID=personID,tnglastname=tnglastname,tngfirstname=tngfirstname,crewlastname=crewlastname,crewfirstname=crewfirstname,crewvoyage=crewvoyage}}
|}-->
|}-->
|-
|-
|{{#replace:{{{personID}}}|I|}}
|{{#replace:{{{personID}}}|I|}}
|{{{personID}}}
|{{{personID}}}
|{{{tnglastname}}}
|[[{{{tnglastname}}}, {{{tngfirstname}}} - {{{personID}}}]]
|{{{tngfirstname}}}
|{{{crewvoyage}}}
|{{{crewlastname}}}
|[[{{{crewlastname}}}, {{{crewfirstname}}} - {{{personID}}}]]
|{{{crewfirstname}}}<noinclude>
|{{#ifeq:{{{tnglastname}}}{{{tngfirstname}}}||{{{crewlastname}}}{{{crewfirstname}}}|
style="background-color: green;"{{!}}Same|
style="background-color: yellow;"{{!}}Different<noinclude>
[[Category:Data retrieval templates]]
[[Category:Data retrieval templates]]
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 15:30, 22 September 2014

|- |{{{personD}}} |{{{personID}}} |[[{{{tnglastname}}}, {{{tngfirstname}}} - {{{personID}}}]] |{{{crewvoyage}}} |[[{{{crewlastname}}}, {{{crewfirstname}}} - {{{personID}}}]] |{{#ifeq:{{{tnglastname}}}{{{tngfirstname}}}||{{{crewlastname}}}{{{crewfirstname}}}| style="background-color: green;"|Same| style="background-color: yellow;"|Different {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}