Jump to content

Template:LibraryInterview: Difference between revisions

// via Wikitext Extension for VSCode
// via Wikitext Extension for VSCode
Line 1: Line 1:
<includeonly>
<includeonly>
{{#invoke:T-LibraryInterview|render
{{#invoke:T-LibraryInterview|render
| Title = {{{Title|}}}
|title = {{{Title|}}}
| Format = {{{Format|}}}
|format_interview = {{{Format|}}}
| Date = {{{Date|}}}
|date = {{{Date|}}}
| Interviewer = {{{Interviewer|}}}
|interviewer = {{{Interviewer|}}}
| Interviewee = {{{Interviewee|}}}
|interviewee = {{{Interviewee|}}}
| ID = {{{ID|}}}
|id = {{{ID|}}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{Lua|T-LibraryInterview}}
{{Lua|T-LibraryInterview}}
Line 14: Line 14:
* "ID" is auto-generated and always shows the page ID (any user input is ignored)
* "ID" is auto-generated and always shows the page ID (any user input is ignored)
<pre>{{LibraryInterview
<pre>{{LibraryInterview
| Title = Title of the interview
|title = Title of the interview
| Format = Format of the interview (e.g., "Text interview" or "Edited text transcript of video interview")
|format_interview = Format of the interview (e.g., "Text interview" or "Edited text transcript of video interview")
| Date = Date of the interview (date will normalize to: Month DD, YYYY)
|date = Date of the interview (date will normalize to: Month DD, YYYY)
| Interviewer = Person conducting the interview (can include wiki links)
|interviewer = Person conducting the interview (can include wiki links)
| Interviewee = Person being interviewed (can include wiki links)
|interviewee = Person being interviewed (can include wiki links)
| ID = Permanent ID for the interview based on PAGEID
|id = Permanent ID for the interview based on PAGEID
}}</pre>
}}</pre>
</noinclude>
</noinclude>

Revision as of 23:38, 27 April 2025

Template:Lua

Usage

  • The following code creates an interview template.
  • Every parameter is mandatory.
  • "ID" is auto-generated and always shows the page ID (any user input is ignored)
{{LibraryInterview
|title = Title of the interview
|format_interview = Format of the interview (e.g., "Text interview" or "Edited text transcript of video interview")
|date = Date of the interview (date will normalize to: Month DD, YYYY)
|interviewer = Person conducting the interview (can include wiki links)
|interviewee = Person being interviewed (can include wiki links)
|id = Permanent ID for the interview based on PAGEID
}}