Template:NYC LPC header: Difference between revisions
remove number column; adds nothing as the landmarks don't have inherent numbers |
Epicgenius (talk | contribs) citation |
||
Line 3: | Line 3: | ||
! width = 18% {{NYCL color}} scope=col| {{#ifeq:{{{1|}}}|NHL|Landmark name|Landmark name}}{{#if:{{{NRISref|}}}|{{#tag:ref|{{NRISref|version={{{NRISref}}}|dateform={{{dateform|}}}|access-date={{{access-date|{{{accessdate|}}}}}}}}|name="nris"}}}} |
! width = 18% {{NYCL color}} scope=col| {{#ifeq:{{{1|}}}|NHL|Landmark name|Landmark name}}{{#if:{{{NRISref|}}}|{{#tag:ref|{{NRISref|version={{{NRISref}}}|dateform={{{dateform|}}}|access-date={{{access-date|{{{accessdate|}}}}}}}}|name="nris"}}}} |
||
! width = 8% class="unsortable" {{NYCL color}} scope=col| Image |
! width = 8% class="unsortable" {{NYCL color}} scope=col| Image |
||
! width = 10% {{NYCL color}} scope=col| Date {{#ifeq:{{{1|}}}|NHL|designated|listed}}{{#if:{{{group|}}} | {{#tag:ref|The number below each date is the number assigned to each location by the Landmarks Preservation Commission. The landmark designation report can be viewed by clicking the number.|group={{{group}}}|name="refnums"}}|{{#tag:ref|The number below each date is the number assigned to each location by the Landmarks Preservation Commission. The landmark designation report can be viewed by clicking the number.|name="refnums"}}}}{{#if:{{{splitdate|}}}| |
! width = 10% {{NYCL color}} scope=col| Date {{#ifeq:{{{1|}}}|NHL|designated|listed}}{{#if:{{{group|}}} | {{#tag:ref|The number below each date is the number assigned to each location by the Landmarks Preservation Commission. The landmark designation report can be viewed by clicking the number.|group={{{group}}}|name="refnums"}}{{r|group={{{group}}}|experience-arcgis-map}}|{{#tag:ref|The number below each date is the number assigned to each location by the Landmarks Preservation Commission. The landmark designation report can be viewed by clicking the number.|name="refnums"}}{{r|experience-arcgis-map}}}}{{#if:{{{splitdate|}}}| |
||
<th width = 10% scope=col {{NYCL color}}>Date removed</th>}} |
<th width = 10% scope=col {{NYCL color}}>Date removed</th>}} |
||
! {{NYCL color}} scope=col| Location{{#tag:ref|For an interactive map, refer to {{cite web|url=https://experience.arcgis.com/experience/fa1bcaad31374a88839da3f0166e640a/page/Page/ |title=Discover New York City Landmarks |publisher=New York City Landmarks Preservation Commission |via=[[ArcGIS]] }}|group={{#if:{{{group|}}}|{{{group}}}}}|name="experience-arcgis-map"}} |
|||
! {{NYCL color}} scope=col| Location |
|||
{{#if:{{{noborough|{{#ifeq:{{{1|}}}|NHL|1}}}}}|<!--Hide the borough -->|<th width="8%" {{NYCL color}}> {{#if:{{{borough|}}} | {{{borough|}}} | Borough}}</th>}}{{#ifeq:{{{1|}}}|NHL|{{#if:{{{nocounty|}}}|<!--Hide the county -->|<th width="8%" {{NYCL color}}> {{#if:{{{county|}}}|{{{county}}}|County}}</th>}}}} |
{{#if:{{{noborough|{{#ifeq:{{{1|}}}|NHL|1}}}}}|<!--Hide the borough -->|<th width="8%" {{NYCL color}}> {{#if:{{{borough|}}} | {{{borough|}}} | Borough}}</th>}}{{#ifeq:{{{1|}}}|NHL|{{#if:{{{nocounty|}}}|<!--Hide the county -->|<th width="8%" {{NYCL color}}> {{#if:{{{county|}}}|{{{county}}}|County}}</th>}}}} |
||
! {{NYCL color}} scope=col| Description |
! {{NYCL color}} scope=col| Description |
Latest revision as of 00:23, 26 May 2024
Landmark name | Image | Date listed[1][2] | Location[2] | Borough | Description |
---|---|---|---|---|---|
[[]] | (Ref. # missing) |
Coordinates missing |
Header template to structure lists of New York City Landmarks Preservation Commission landmarks. If you change this template you probably want to take a look at {{NYC LPC row}} too. This template is made in a way it can be harvested by a bot for Wiki Loves Monuments.
Usage
[edit]Just add {{NYC LPC header}} at the start of a list. Example:
Landmark name | Image | Date listed[1][2] | Location[2] | Borough | Description |
---|
You can override borough with something more suitable. Example:
For example, add {{NYC LPC header|borough=Neighborhood}} to change it to Neighborhood:
Landmark name | Image | Date listed[1][2] | Location[2] | Neighborhood | Description |
---|
You can also completely remove the borough column. This only works if this field is turned on in the header and all the rows of the table.
For example, add {{NYC LPC header|noborough=1}} to remove the column:
Landmark name | Image | Date listed[1][2] | Location[2] | Description |
---|
The caption field will add a caption, which is a WP:ACCESS requirement. If the caption would duplicate a nearby section header, you can make it screen-reader software only with the {{sronly}} template.
Landmark name | Image | Date listed[1][2] | Location[2] | Borough | Description |
---|
See also
[edit]- Template:NYC LPC row, the row template to use in combination with this header template
- ^ a b c d e The number below each date is the number assigned to each location by the Landmarks Preservation Commission. The landmark designation report can be viewed by clicking the number.
- ^ a b c d e f g h i j For an interactive map, refer to "Discover New York City Landmarks". New York City Landmarks Preservation Commission – via ArcGIS.