Jump to content

Template:Grand Comics Database search/doc

From Wikipedia, the free encyclopedia

Usage

[edit]
Article name as link text
{{Grand Comics Database search|TYPE|SEARCH}}
{{Grand Comics Database search|type=TYPE|search=SEARCH}}
Parameter as link text
{{Grand Comics Database search|TYPE|SEARCH|TITLE}}
{{Grand Comics Database search|type=TYPE|search=SEARCH|title=TITLE}}

Parameters

[edit]

After running a successful search using this template, cut'n'paste the appropriate values for the |1= and |2= parameters in an associated template from the generated URL query string. The associated templates are shown below. The parameters for this template are:

Parameter Keyword Description
1 type for instance: title, to search against title text
2 search the keywords entered for the search
3 title optionally, to override defaulting to the page title

Example

[edit]
URL
https://www.comics.org/search.lasso/?sort=chrono&query=Gil+Kane&type=credit
Usage
{{Grand Comics Database search|credit|Gil+Kane|Gil Kane}}
{{Grand Comics Database search|type=credit|search=Gil+Kane|title=Gil Kane}}
Output
Gil Kane at the Grand Comics Database
Gil Kane at the Grand Comics Database

Associated templates

[edit]