Difference between revisions of "Template:Property Link"

From Dungeons and Dragons Wiki
Jump to: navigation, search
(Elena)
m (Reverted edits by 76.164.15.66 (talk) to last revision by Tarkisflux)
Line 1: Line 1:
می‌گه: :چجوری باید تعداد برترین مطالب رو زیاد کنم ۳ تا فقط میاره !کد زیر رو در فایل lsidebar.php پیدا کنید و به جای ۱۵ هر عددی که خواستید بذارید$result = $wpdb->get_results( SELECTcoemmnt_count,ID,post_title FROM $wpdb->posts ORDER BY coemmnt_countDESC LIMIT 0 , 15 );
+
<includeonly>{{#if:{{{3|}}}|[[{{{2}}}{{!}}{{{3}}}]][[{{{1}}}::{{{3}}}| ]]|[[{{{2}}}]][[{{{1}}}::{{{2}}}| ]]}}</includeonly><noinclude>
 +
{{documentation}}</noinclude>

Revision as of 04:02, 4 July 2012

Template documentation (for the above template, sometimes hidden or invisible)

This template is used when you want to set a property, and also allow it to be a link to some other page. It takes either two or three arguments, depending on how you want the link to show up.

{{Property Link|Foo|PageBar}} will result in the property "Foo" being set to value "PageBar", and a link to "PageBar" will be displayed on the page.

{{Property Link|Foo|PageBar|LinkText}} will result in the property "Foo" being set to value "LinkText", and a link to "PageBar" will be displayed in the page with text "LinkText".