Help:DPL metadata transclusion
- DPL’s allow you to add a great deal of metadata to a list. Metadata is information that is attached to each wiki page by the wiki which remains hidden. It includes things like edit history, category lists, editors, and page counts and touch dates.
- This information is extremely similar to the information which can be included using Fixed wiki variables.
- Metadata requires specific tags to be included in the “|format =“ and other editing lines (Think back to %TITLE% and %PAGE%) in order for the information to appear.
- The following chart highlights common metadata and how to include it in the format line.
|Edit date - The date the page was either first edited or last edited, depending on “ordermethod”.||“|addeditdate = true”||%DATE%|
|Add Category - Displays the categories each page is in.||“|addcategories = true”||%DATE%|
|Page Count - Displays the number of hits the page has received.||“|addpagecounter= true”||%COUNT%|
|Page Size - Displays the number of characters on the page.||“|addpagesize = true”||%SIZE%|
|Add Author - Adds the first person to edit the page.||“|addauthor= true”||%USER%|
|Last Editor - Adds the last person to edit the page.||“|addlasteditor= true”||%USER%|
|Example: Formatted metadata inclusion|
Complex formatting with metadata included. Count limited to ten for convenience.
You'll notice that the references did not carry through. That is because DPLs currently delete all references above them. You should be cautious where you place them on your page.