Changes
Jump to navigation
Jump to search
Adding reference-accessdate span
<!-- SANDBOX FOR NTSB TEMPLATE -->
<!-- Below is preferred test case of User:Shelbystripes -->
{{Include-USGov
|policy=https://www.ntsb.gov/about/Policies/Pages/Policies.aspx
|agency=National Transportation Safety Board
|article={{{article|}}}
|url={{#if:{{{url|}}}|{{{url|}}}}}
|author={{#if:{{{author|}}}|{{{author|}}}}}
|comment={{#if:{{{id|}}}|{{{id}}}}}
}}{{#if:{{{accessdate|}}}|<span class="reference-accessdate"> Retrieved on {{{accessdate}}}.</span>}}
<!-- Alternate test case; not being tested at the moment
{{Include-USGov
|policy=https://www.ntsb.gov/about/Policies/Pages/Policies.aspx
|agency=National Transportation Safety Board
|article={{{article|}}}
|url={{#if:{{{url|}}}|{{{url|}}}}}
|author={{#if:{{{author|}}}|{{{author|}}}}}
|source={{#if:{{{id|}}}|{{cite document |url={{#if:{{{url|}}}|{{{url|}}}}} |title={{{article}}} |author={{#if:{{{author|}}}|{{{author|}}}}} |id={{#if:{{{id|}}}|{{{id}}}}}
}}
}}
}} {{#if:{{{accessdate|}}}| Retrieved on {{{accessdate}}}.}}
-->
<noinclude>{{Documentation}}</noinclude><includeonly>[[Category:Wikipedia articles incorporating text from the National Transportation Safety Board]]</includeonly>
<!-- Below is preferred test case of User:Shelbystripes -->
{{Include-USGov
|policy=https://www.ntsb.gov/about/Policies/Pages/Policies.aspx
|agency=National Transportation Safety Board
|article={{{article|}}}
|url={{#if:{{{url|}}}|{{{url|}}}}}
|author={{#if:{{{author|}}}|{{{author|}}}}}
|comment={{#if:{{{id|}}}|{{{id}}}}}
}}{{#if:{{{accessdate|}}}|<span class="reference-accessdate"> Retrieved on {{{accessdate}}}.</span>}}
<!-- Alternate test case; not being tested at the moment
{{Include-USGov
|policy=https://www.ntsb.gov/about/Policies/Pages/Policies.aspx
|agency=National Transportation Safety Board
|article={{{article|}}}
|url={{#if:{{{url|}}}|{{{url|}}}}}
|author={{#if:{{{author|}}}|{{{author|}}}}}
|source={{#if:{{{id|}}}|{{cite document |url={{#if:{{{url|}}}|{{{url|}}}}} |title={{{article}}} |author={{#if:{{{author|}}}|{{{author|}}}}} |id={{#if:{{{id|}}}|{{{id}}}}}
}}
}}
}} {{#if:{{{accessdate|}}}| Retrieved on {{{accessdate}}}.}}
-->
<noinclude>{{Documentation}}</noinclude><includeonly>[[Category:Wikipedia articles incorporating text from the National Transportation Safety Board]]</includeonly>