Difference between revisions of "Template:Search result"
Jump to navigation
Jump to search
(removed has person from this edit and the previous edit) |
|||
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>*{{#if: {{{name|}}}|{{#if:{{{name|}}}|Found | + | <includeonly>*{{#if: {{{name|}}}|{{#if:{{{name|}}}|Found [[{{{name|}}}]] |}} {{#if:{{{page|}}}{{{external source name|}}}|{{#if:{{{url|}}}|at [{{{url|}}} {{{page|}}}{{{external source name|}}}] |at {{{page|}}} }}|{{#if:{{{url|}}}|at {{{url|}}}|}} }}{{#if:{{{document date|}}}{{{date|}}}| on document dated {{date|{{{document date|}}}{{{date|}}} }}|}}.{{#if:{{{note|}}}{{{source name|}}}{{{internal document name|}}}| |
− | + | {{#if: {{{source name|}}}{{{internal document name|}}}|:'''Uploaded locally to:''' [[:{{{source name|}}}{{{internal document name|}}}]] |<!--do nothing -->}} | |
− | {{#subobject:{{{name|}}} - {{{date|}}} - {{{page|}}}{{{external source | + | {{#if: {{{note|}}}|:'''Note: ''' {{{note|}}} | <!--don't show note--> }} |}} |
− | + | {{#subobject:{{{name|}}}-{{{date|}}}-{{{page|}}}{{{external source name|}}} | |
|has external source name={{{page|}}}{{{external source name|}}}<!--prefer external source name--> | |has external source name={{{page|}}}{{{external source name|}}}<!--prefer external source name--> | ||
|has url={{{url|}}} | |has url={{{url|}}} | ||
|has accessed date={{date|{{{accessed date|}}} }} | |has accessed date={{date|{{{accessed date|}}} }} | ||
− | |has internal | + | |has internal document name={{{source name|}}}{{{internal document name|}}}<!--prefer document name--> |
+ | |has master = {{{master|}}} | ||
|has note={{{note|}}} | |has note={{{note|}}} | ||
|has document date={{date|{{{date|}}}{{{document date|}}} }} <!-- prefer document date--> | |has document date={{date|{{{date|}}}{{{document date|}}} }} <!-- prefer document date--> | ||
+ | |has log page = {{BASEPAGENAME}} | ||
}}|no results}}</includeonly><noinclude>{{documentation}}</noinclude> | }}|no results}}</includeonly><noinclude>{{documentation}}</noinclude> |
Latest revision as of 16:38, 17 December 2020
The purpose of this template is to streamline the search documentation process on Search Cards by providing a uniform entry and display for search results and notes. See also Template:Searched for for search term formatting.
This template will add theCategory:Search Card category. Usage:
{{Search result |accessed date = |alt = |document date = |external source name = |internal document name = |name = |note = |url = }}
- document date = most relevant date on the document
- name = if the search result refers to a particular name it can be provided
- note = any note can be provided
- external source name = page number, paragraph number, url, etc where the search result was found
- internal source name = name of page for the source (include namespace)
- alt = name to be displayed when needed to be different than name above
- url = URL of page where the result was found
- accessed date = date source was assessed
- if 'all arguments are left blank, then "no results" will be returned.
This template uses the following templates:
This documentation is transcluded from Template:Search result/doc