BBCode for embedding LDraw parts now available - UPDATE


BBCode for embedding LDraw parts now available - UPDATE
#1
Admin - Due to latency problems between the 2 LDraw servers causing extremely page long load times on tag intensive posts, this tag has been disabled until a code revision can be made to account for this.

Format is:
[dat_part <partno> (unofficial|text)]
where:
<partno> is the part number with or without the ".dat". Note the "parts" folder need not be specified but the "p", "s", and "48" do.
"unofficial" forces the PT version if the part is under revision on the PT
"text" forces a text link instead of an image link

If a part image does not exist (i.e. official primitives) then it defaults to a text link.
If the part is neither official or unofficial it returns the part number as plain text.

Official Part:
image link:
[dat_part 3001]
text link:
[dat_part 3001 text]

Unofficial Part:
image link:
[dat_part 92590]
text link:
[dat_part 92590 text]

Part that is both:
official image:
[dat_part 112]
official text:
[dat_part 112 text]
unofficial image:
[dat_part 112 unofficial]
unofficial text:
[dat_part 112 unofficial text]

This part does not exist:
[dat_part 33431333s02]
Reply
« Next Oldest | Next Newest »



Messages In This Thread
BBCode for embedding LDraw parts now available - UPDATE - by Orion Pobursky - 2012-03-25, 14:32

Forum Jump:


Users browsing this thread: 1 Guest(s)