User:Ala1956/CodeSamples

Watchers

This page contains wiki code samples (snippets) that I have collected for use on various types of WR pages. As standards develop, these may change. --Ala1956 15:18, 18 May 2010 (EDT)

Cemetery pages

Add link to FindAGrave

  • Copy and paste this block of code:

== Resources ==
Listings on [http://www.findagrave.com/cgi-bin/fg.cgi?page=gsr&GScid=##### FindAGrave.com]

  • Replace ##### with unique identifier

Add category

  • For US locations, copy and paste this block of code:

[[Category:Cemeteries of #####, #####, United States|Cemetery Name]]

  • Replace ##### with County, and State
  • Omit the word Cemetery from Cemetery Name (eg, Good Hope; not Good Hope Cemetery)
  • After saving the page, confirm that the link at bottom of page is active (blue)
  • If not, create the cemetery's parent page and add its category with this block of code:

[[Category:Cemeteries of #####, United States|County Name]]

  • Replace ##### with State, include County Name after the bar