Template:EzTumblr: Difference between revisions

From MTG Wiki
Jump to navigation Jump to search
>Yandere-sliver
mNo edit summary
>RivalRowan
No edit summary
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
<noinclude>__NOTOC__
<noinclude>{{Lua|EzTumblr}}
This template is an abbreviated version of {{tl|TumblrRef}}. It stores information about commonly referenced Tumblr accounts, and attaches that information to the transcluded citation based on the URL provided.
This template is an abbreviated version of {{tl|TumblrRef}}. It stores information about commonly referenced Tumblr accounts, and attaches that information to the transcluded citation based on the URL provided.


Line 5: Line 5:
It currently supports the following blogs. If you often cite a blog not listed, feel free to edit the list at the top of [[Module:EzTumblr]].
It currently supports the following blogs. If you often cite a blog not listed, feel free to edit the list at the top of [[Module:EzTumblr]].
{{#invoke:EzTumblr|getSupportedBlogs}}
{{#invoke:EzTumblr|getSupportedBlogs}}
''Admin Note: ''tabakrules.tumblr.com'' and ''multiverseinreview.tumblr.com'' no longer exist. If you see these references anywhere, please replace them with the appropriate Internet Archive {{tl|WebRef}}s.''
==Usage==
==Usage==
As with {{tl|TumblrRef}}, but the <code>tumblr-title</code> and <code>author</code> fields should be omitted.
As with {{tl|TumblrRef}}, but the <code>tumblr-title</code> and <code>author</code> fields should be omitted.
Line 35: Line 36:


[[Category:Referencing templates]]
[[Category:Referencing templates]]
</noinclude><includeonly>{{TumblrRef|url={{{1}}}|title={{{title|{{#invoke:EzTumblr|createPostTitle|{{{1}}}}}}}}|date={{{2}}}|tumblr={{#invoke:EzTumblr|getTitle|{{{1}}}}}|author=[[{{#invoke:EzTumblr|getAuthor|{{{1}}}}}]]}}</includeonly>
</noinclude><includeonly>{{TumblrRef|url={{{1}}}|title={{{title|{{#invoke:EzTumblr|createPostTitle|{{{1}}}}}}}}|date={{{2|}}}|tumblr={{#invoke:EzTumblr|getTitle|{{{1}}}}}|author=[[{{#invoke:EzTumblr|getAuthor|{{{1}}}}}]]}}</includeonly>

Latest revision as of 07:08, 9 April 2024

This template is an abbreviated version of {{TumblrRef}}. It stores information about commonly referenced Tumblr accounts, and attaches that information to the transcluded citation based on the URL provided.

Support

It currently supports the following blogs. If you often cite a blog not listed, feel free to edit the list at the top of Module:EzTumblr.

  • dougbeyermtg.tumblr.com
  • markrosewater.tumblr.com
  • multiverseinreview.tumblr.com
  • tabakrules.tumblr.com
  • vorthosjay.tumblr.com
  • wizardsmagic.tumblr.com

Admin Note: tabakrules.tumblr.com and multiverseinreview.tumblr.com no longer exist. If you see these references anywhere, please replace them with the appropriate Internet Archive {{WebRef}}s.

Usage

As with {{TumblrRef}}, but the tumblr-title and author fields should be omitted.

The title field is optional if the URL contains the slug, the additional text beyond the numeric post identifier.

url and date are always mandatory.

{{EzTumblr|http://...|<date>|title=...}}

Parameters

  • {{{1}}}: The entire URL, including http(s)://.
  • {{{2}}}: The date of creation.
  • {{{title}}}: The title of the post.

Examples

  • Without a title, the URL must contain a slug, and a title will be generated: