Template:GR Can't find: Difference between revisions

m
modified to allow for additional links.
(Still trying)
m (modified to allow for additional links.)
Line 7: Line 7:
{{GR print link|Search link=[[GuidedResearch:Why Can't I Find the Record - {{{Location|}}} {{{Vital type|}}}s#Improve searching|Improve searching]]|}}<nowiki/>
{{GR print link|Search link=[[GuidedResearch:Why Can't I Find the Record - {{{Location|}}} {{{Vital type|}}}s#Improve searching|Improve searching]]|}}<nowiki/>
{{GR print link|Search link=[[GuidedResearch:Why Can't I Find the Record - {{{Location|}}} {{{Vital type|}}}s#Why the record may not exist|Why the record may not exist]]}}
{{GR print link|Search link=[[GuidedResearch:Why Can't I Find the Record - {{{Location|}}} {{{Vital type|}}}s#Why the record may not exist|Why the record may not exist]]}}
|}} <!-- end if Vital type -->
|}}<!-- end if Vital type -->
| <!-- else, location not defined and links are passed to this templates -->
}}<!-- end if Location -->
{{#vardefine: i | 1}}{{#while:
{{#vardefine: i | 1}}{{#while:|{{{Search link {{#var: i}} |}}}|<nowiki/>
| {{{Search link {{#var: i}} |}}}
{{GR print link|Search link={{{Search link {{#var:i}}|}}}|}}<nowiki/>
| <nowiki />
{{#vardefine:i|{{#expr: {{#var: i }} + 1 }}}}<nowiki/>
|{{#ifexpr: {{#var: i }} > 1 | <br>|}}
}}<nowiki/> <!-- end while loop -->
{{GR print link
|Search link={{{Search link {{#var:i}}|}}}|}}
{{#vardefine: i
  | {{#expr: {{#var: i }} + 1 }}
}}  
}} <!-- end while loop -->
}} <!-- end if Location -->
<noinclude>
<noinclude>
:'''Code example 1''':  
:'''Code example 1''':  
2,664

edits